Created
May 2, 2011 17:12
-
-
Save MikailCliftov/951937 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//at a console in firefox: should I see an alert with value 'hi' from the following: | |
q = Rapid.store.find(MyApp.A); | |
q.forEach(function(item){ | |
v = MyApp.store.materializeRecord(item.get('storeKey')); | |
console.log(v); | |
}) | |
//inside of A SC.Record | |
aComputedProperty : function(){ | |
var something = 'blue'; | |
alert('hi'); | |
return something; | |
}.property() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment