Sha256: 2b709ddee38d8712080461933cf162a66ef9258e5ceefc923f22641883c8cdfa
Contents?: true
Size: 703 Bytes
Versions: 2
Compression:
Stored size: 703 Bytes
Contents
// ======================================================================== // SC.objectForPropertyPath Tests // ======================================================================== /*globals module test ok isObj equals expects */ // An ObjectController will make a content object or an array of content objects module("SC.objectForPropertyPath") ; test("should be able to resolve an object on the window", function() { var myLocal = window['myGlobal'] = { test: 'this '} ; isObj(myLocal, { test: 'this '}) ; isObj(window['myGlobal'], { test: 'this '}) ; // verify we can resolve our binding path same(SC.objectForPropertyPath('myGlobal'), { test: 'this '}) ; delete g ; });
Version data entries
2 entries across 2 versions & 1 rubygems