Skip to content

Instantly share code, notes, and snippets.

@elliottkember
Created July 23, 2014 18:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elliottkember/7ef93572ef71d4561091 to your computer and use it in GitHub Desktop.
Save elliottkember/7ef93572ef71d4561091 to your computer and use it in GitHub Desktop.
Load in CoffeeScript files with Framer
load = (scripts...) ->
for script in scripts
script = "#{script}.coffee" if script.indexOf '.' == -1
eval CoffeeScript.compile(Utils.domLoadDataSync(script))
load 'finderWindow', 'appStateMachine'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment