nl_tokens: Returns a model class for a particular key . Used by methods that take a type key ( like find createRecord etc . )
pl_tokens: function ( key ) { var factory ; if ( typeof key === 'string' ) { var normalizedKey = this . container . normalize ( 'model:' + <mask> ) ; factory = this . container . lookupFactory ( normalizedKey ) ; if ( ! factory ) { throw new Ember . Error ( "No model was found for '" + key + "'" ) ; } factory . typeKey = normalizedKey . split ( ':' , 2 ) [ 1 ] ; } else { // A factory already supplied. factory = key ; } factory . store = this ; return factory ; }