Created
April 30, 2015 18:12
-
-
Save jdcauley/4a98f5698eba664fed53 to your computer and use it in GitHub Desktop.
Ember Repairs
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
extractArray: function(store, type, payload) { | |
var users = payload; | |
users.nextObject = null; | |
users._super = null; | |
users.firstObject = null; | |
users.lastObject = null; | |
users.container = null; | |
payload = {}; | |
payload.users = users; | |
return this._super(store, type, payload); | |
} |
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
main: function(){ | |
return this.store.find('widget'); | |
}.property(), | |
other: function(){ | |
return this.store.find('user'); | |
}.property(), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment