Created
April 18, 2014 19:02
-
-
Save bj-mcduck/11059464 to your computer and use it in GitHub Desktop.
Get stripped version of object array
This file contains 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
App.DreamSymbolsNewController = Ember.ObjectController.extend | |
value: null | |
categories: (-> | |
# [ | |
# { | |
# id: 1 | |
# name: "red" | |
# } | |
# { | |
# id: 3 | |
# name: "blue" | |
# } | |
# { | |
# id: 2 | |
# name: "green" | |
# } | |
# ] | |
list = [] | |
test = @store.find('dream_symbol').then | |
symbols.each (symbol)-> | |
console.log 'woot' | |
list.push symbols | |
list | |
).property '[email protected]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment