lib/prod.js
// Process the given document (in string or vfile representation), sync.
Process the given document (in string or vfile representation), sync.
Process the given document ( in string or vfile representation ) sync .
function processSync(doc) {
    var complete = false;
    var file;
    freeze();
    assertParser('processSync', processor.Parser);
    assertCompiler('processSync', processor.Compiler);
    file = vfile(doc);
    process(file, done);
    assertDone('processSync', 'process', complete);
    return file
    function done(err) {
      complete = true;
      bail_1(err);
    }
  }
function processSync ( doc ) { var complete = false ; var file ; freeze ( ) ; assertParser ( 'processSync' , processor . Parser ) ; assertCompiler ( 'processSync' , processor . Compiler ) ; file = vfile ( doc ) ; process ( file , done ) ; assertDone ( 'processSync' , 'process' , complete ) ; return file function done ( err ) { complete = true ; bail_1 ( err ) ; } }
Process the given document (in string or vfile representation), sync.
Process the given document ( in string or vfile representation ) sync .