node_modules/grunt-angular-builder/tasks/angular-builder.js
/**
   * Creates a new instance of each loaded middleware and assembles them into a sequential list.
   * @param {MiddlewareInterface[]} middlewareStackClasses An ordered list of classes to be instantiated.
   * @param {Context} context The build execution context.
   * @returns {MiddlewareInterface[]}
   */
Creates a new instance of each loaded middleware and assembles them into a sequential list.
@param {MiddlewareInterface[]} middlewareStackClasses An ordered list of classes to be instantiated.
@param {Context} context The build execution context.
Creates a new instance of each loaded middleware and assembles them into a sequential list . @param { MiddlewareInterface [] } middlewareStackClasses An ordered list of classes to be instantiated . @param { Context } context The build execution context .
function assembleMiddleware (middlewareStackClasses, context)
  {
    var middlewares = [];
    middlewareStackClasses.forEach (function (MiddlewareClass)
    {
      middlewares.push (new MiddlewareClass (context));
    });
    return middlewares;
  }
function assembleMiddleware ( middlewareStackClasses , context ) { var middlewares = [ ] ; middlewareStackClasses . forEach ( function ( MiddlewareClass ) { middlewares . push ( new MiddlewareClass ( context ) ) ; } ) ; return middlewares ; }
Creates a new instance of each loaded middleware and assembles them into a sequential list.
Creates a new instance of each loaded middleware and assembles them into a sequential list .