lib/pancakes.js
function transform(flapjack, pluginOptions, runtimeOptions) {
    var name = runtimeOptions.transformer;
    var transformer = transformerFactory.getTransformer(name, clientPlugin, pluginOptions);
    var options = _.extend({}, pluginOptions, runtimeOptions);
    return transformer.transform(flapjack, options);
}
function transform(flapjack, pluginOptions, runtimeOptions) {
    var name = runtimeOptions.transformer;
    var transformer = transformerFactory.getTransformer(name, clientPlugin, pluginOptions);
    var options = _.extend({}, pluginOptions, runtimeOptions);
    return transformer.transform(flapjack, options);
}
function transform ( flapjack , pluginOptions , runtimeOptions ) { var name = runtimeOptions . transformer ; var transformer = transformerFactory . getTransformer ( name , clientPlugin , pluginOptions ) ; var options = _ . extend ( { } , pluginOptions , runtimeOptions ) ; return transformer . transform ( flapjack , options ) ; }
Use the transformer factory to find a transformer and return the generated code
@param flapjack
@param pluginOptions
@param runtimeOptions
@returns {*}
Use the transformer factory to find a transformer and return the generated code