lib/load_templates.js
function loadTemplate(template, name, callback) {
  async.waterfall([
    cb => source(template.path, template.filter, template.readMode, cb),
    (files, cb) => asDataMap(files, template.mapping, cb),
  ], (error, result) => {
    async.nextTick(callback, error, result);
  });
}
function loadTemplate(template, name, callback) {
  async.waterfall([
    cb => source(template.path, template.filter, template.readMode, cb),
    (files, cb) => asDataMap(files, template.mapping, cb),
  ], (error, result) => {
    async.nextTick(callback, error, result);
  });
}
function loadTemplate ( template , name , callback ) { async . waterfall ( [ cb => source ( template . path , template . filter , template . readMode , cb ) , ( files , cb ) => asDataMap ( files , template . mapping , cb ) , ] , ( error , result ) => { async . nextTick ( callback , error , result ) ; } ) ; }
Load a single template.
Load a single template .