benchmarks/scenarios/ember.js
function (fullName) {
      var parsedName = this.parseName(fullName);
      var description;

      if (parsedName.type === 'template') {
        return 'template at ' + parsedName.fullNameWithoutType.replace(/\./g, '/');
      }

      description = parsedName.root + '.' + _emberRuntimeSystemString.classify(parsedName.name).replace(/\./g, '');

      if (parsedName.type !== 'model') {
        description += _emberRuntimeSystemString.classify(parsedName.type);
      }

      return description;
    }
function (fullName) {
      var parsedName = this.parseName(fullName);
      var description;

      if (parsedName.type === 'template') {
        return 'template at ' + parsedName.fullNameWithoutType.replace(/\./g, '/');
      }

      description = parsedName.root + '.' + _emberRuntimeSystemString.classify(parsedName.name).replace(/\./g, '');

      if (parsedName.type !== 'model') {
        description += _emberRuntimeSystemString.classify(parsedName.type);
      }

      return description;
    }
function ( fullName ) { var parsedName = this . parseName ( fullName ) ; var description ; if ( parsedName . type === 'template' ) { return 'template at ' + parsedName . fullNameWithoutType . replace ( / \. / g , '/' ) ; } description = parsedName . root + '.' + _emberRuntimeSystemString . classify ( parsedName . name ) . replace ( / \. / g , '' ) ; if ( parsedName . type !== 'model' ) { description += _emberRuntimeSystemString . classify ( parsedName . type ) ; } return description ; }
Returns a human-readable description for a fullName. Used by the
Application namespace in assertions to describe the
precise name of the class that Ember is looking for, rather than
container keys.
@protected
@param {String} fullName the lookup string
@method lookupDescription
@public
Returns a human - readable description for a fullName . Used by the Application namespace in assertions to describe the precise name of the class that Ember is looking for rather than container keys .