benchmarks/scenarios/ember.js
function (fullName, options) {
      _emberMetalDebug.assert('fullName must be a proper full name', this.registry.validateFullName(fullName));
      return factoryFor(this, this.registry.normalize(fullName), options);
    }
function (fullName, options) {
      _emberMetalDebug.assert('fullName must be a proper full name', this.registry.validateFullName(fullName));
      return factoryFor(this, this.registry.normalize(fullName), options);
    }
function ( fullName , options ) { _emberMetalDebug . assert ( 'fullName must be a proper full name' , this . registry . validateFullName ( fullName ) ) ; return factoryFor ( this , this . registry . normalize ( fullName ) , options ) ; }
Given a fullName, return the corresponding factory.
@private
@method lookupFactory
@param {String} fullName
@param {Object} [options]
@param {String} [options.source] The fullname of the request source (used for local lookup)
@return {any}
Given a fullName return the corresponding factory .