bomberstudios / sketch-framer

A Sketch plugin to easily export your mockups to FramerJS
Other
767 stars 67 forks source link

Moved embedded files into separate file - added library support #32

Closed cemre closed 10 years ago

cemre commented 10 years ago

Big update! This moves the generated files (app.js, index.html, etc) into an external file, so users can change that file's contents without touching up the plugin code.

The main motivation for this was enabling a library of common FramerJS functions I use. When configured, sketch-framer now downloads a remote library and includes it in index.html.

(We could also use this so stop curl'ing Framer remotely and just including it in the include file?)

bomberstudios commented 10 years ago

Thanks for this. I was actually planning on embedding framer.js, so your approach moving the scripts to a new file makes a lot of sense in this scenario.

robbschiller commented 10 years ago

:thumbsup: