spec/lib/jspec.js
function(name, args) {
      args = toArray(arguments, 1)
      return inject(JSpec.modules, [], function(results, module){
        if (typeof module[name] == 'function')
          results.push(JSpec.evalHook(module, name, args))
      })
    }
function(name, args) {
      args = toArray(arguments, 1)
      return inject(JSpec.modules, [], function(results, module){
        if (typeof module[name] == 'function')
          results.push(JSpec.evalHook(module, name, args))
      })
    }
function ( name , args ) { args = toArray ( arguments , 1 ) return inject ( JSpec . modules , [ ] , function ( results , module ) { if ( typeof module [ name ] == 'function' ) results . push ( JSpec . evalHook ( module , name , args ) ) } ) }
Add a module hook _name_, which is immediately
called per module with the _args_ given. An array of
hook return values is returned.

@param  {name} string
@param  {...} args
@return {array}
@api private
Add a module hook _name_ which is immediately called per module with the _args_ given . An array of hook return values is returned .