build/updates/builder.js
function (helpers) {
            Y.log('Importing helpers: ' + helpers, 'info', 'builder');
            helpers.forEach(function (imp) {
                if (!Y.Files.exists(imp) || Y.Files.exists(path.join(process.cwd(), imp))) {
                    imp = path.join(process.cwd(), imp);
                }
                var h = require(imp);
                Object.keys(h).forEach(function (name) {
                    Y.Handlebars.registerHelper(name, h[name]);
                });
            });
        }
function (helpers) {
            Y.log('Importing helpers: ' + helpers, 'info', 'builder');
            helpers.forEach(function (imp) {
                if (!Y.Files.exists(imp) || Y.Files.exists(path.join(process.cwd(), imp))) {
                    imp = path.join(process.cwd(), imp);
                }
                var h = require(imp);
                Object.keys(h).forEach(function (name) {
                    Y.Handlebars.registerHelper(name, h[name]);
                });
            });
        }
function ( helpers ) { Y . log ( 'Importing helpers: ' + helpers , 'info' , 'builder' ) ; helpers . forEach ( function ( imp ) { if ( ! Y . Files . exists ( imp ) || Y . Files . exists ( path . join ( process . cwd ( ) , imp ) ) ) { imp = path . join ( process . cwd ( ) , imp ) ; } var h = require ( imp ) ; Object . keys ( h ) . forEach ( function ( name ) { Y . Handlebars . registerHelper ( name , h [ name ] ) ; } ) ; } ) ; }
Register a `Y.Handlebars` helper method
@method _addHelpers
@param {Object} helpers Object containing a hash of names and functions
Register a Y . Handlebars helper method