Skip to content

Instantly share code, notes, and snippets.

@russweas
Created July 16, 2015 03:00
Show Gist options
  • Save russweas/91659d2a16c7b184eebd to your computer and use it in GitHub Desktop.
Save russweas/91659d2a16c7b184eebd to your computer and use it in GitHub Desktop.
call: (view, funcName, args...) ->
if @views[view].ready then @views[view]['model'][funcName].apply(null, args)
else @views[view].funcs.push({name: funcName, args: args})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment