Skip to content

Instantly share code, notes, and snippets.

@MikailCliftov
Created May 2, 2011 17:12
Show Gist options
  • Save MikailCliftov/951937 to your computer and use it in GitHub Desktop.
Save MikailCliftov/951937 to your computer and use it in GitHub Desktop.
//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