nl_tokens: This injects the test helpers into the helperContainer object . If an object is provided it will be used as the helperContainer . If helperContainer is not set it will default to window . If a function of the same name has already been defined it will be cached ( so that it can be reset if the helper is removed with unregisterHelper or removeTestHelpers ) .
pl_tokens: function ( helperContainer ) { if ( helperContainer ) { this . helperContainer = helperContainer ; } this . testHelpers = { } ; for ( var name in helpers ) { this . originalMethods [ name ] = this . helperContainer [ name ] ; this . testHelpers [ name ] = this . helperContainer [ name ] = helper ( this , name ) ; protoWrap ( Ember . Test . Promise . prototype , name , helper ( this , <mask> ) , helpers [ name ] . meta . wait ) ; } for ( var i = 0 , l = injectHelpersCallbacks . length ; i < l ; i ++ ) { injectHelpersCallbacks [ i ] ( this ) ; } }