Skip to content

Instantly share code, notes, and snippets.

@julik
Created March 24, 2013 17:29
Show Gist options
  • Save julik/5232738 to your computer and use it in GitHub Desktop.
Save julik/5232738 to your computer and use it in GitHub Desktop.
A wrapper to let everything you define happen under the window.app object
using = (context, args..., f) -> f.apply(context, args)
window.app = {}
window.inApp = (f) ->
using window.app, f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment