Skip to content

Instantly share code, notes, and snippets.

@jashkenas
Forked from edoloughlin/messy_syntax.coffee
Created January 13, 2011 20:58
Show Gist options
  • Select an option

  • Save jashkenas/778593 to your computer and use it in GitHub Desktop.

Select an option

Save jashkenas/778593 to your computer and use it in GitHub Desktop.

Revisions

  1. jashkenas revised this gist Jan 13, 2011. 1 changed file with 5 additions and 4 deletions.
    9 changes: 5 additions & 4 deletions messy_syntax.coffee
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    $('#main_menu li#setup_interview a').bind 'click',
    { callback: () => @interviewEditor.setup()
    menuId: '#setup_interview' },
    @menuClickCallback
    options =
    callback: => @interviewEditor.setup()
    menuId: '#setup_interview'

    $('#main_menu li#setup_interview a').bind 'click', options, @menuClickCallback
  2. edoloughlin created this gist Jan 13, 2011.
    4 changes: 4 additions & 0 deletions messy_syntax.coffee
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    $('#main_menu li#setup_interview a').bind 'click',
    { callback: () => @interviewEditor.setup()
    menuId: '#setup_interview' },
    @menuClickCallback