Created
July 15, 2013 23:21
-
-
Save danielevans/6004382 to your computer and use it in GitHub Desktop.
=> and this and == problem in coffeescript
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
| _.each this.clips || [], (clip) => | |
| clip.selected = false | |
| clip.selected = true if `clip.id == _this.model.clip_id` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment