Skip to content

Instantly share code, notes, and snippets.

@danielevans
Created July 15, 2013 23:21
Show Gist options
  • Select an option

  • Save danielevans/6004382 to your computer and use it in GitHub Desktop.

Select an option

Save danielevans/6004382 to your computer and use it in GitHub Desktop.
=> and this and == problem in coffeescript
_.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