Sha256: c21bf9624295458398fdc8da771dd0d90366423fa10548d1109db156e5f2ae5f
Contents?: true
Size: 709 Bytes
Versions: 51
Compression:
Stored size: 709 Bytes
Contents
// ======================================================================== // SC.objectForPropertyPath Tests // ======================================================================== /*globals module test ok same 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 '}) ; same(myLocal, { test: 'this '}) ; same(window.myGlobal, { test: 'this '}) ; // verify we can resolve our binding path same(SC.objectForPropertyPath('myGlobal'), { test: 'this '}) ; window.myGlobal =null ; });
Version data entries
51 entries across 51 versions & 3 rubygems