This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Jordi Martinez Ortega
Posted Sep 25 - Read on Facebook

Any way you can load an external library? Does all the code need to be written in one file?

3 Comments

Seoh Char

https://github.com/koenbok/Framer/blob/master/framer/Utils.coffee#L302-L313
Utils.domLoadScript 'extern.coffee', -> print loadedData

second argument is optional. and it works on now. but yet undocumented. it could not be fixed function. http://framerjs.com/docs/#utilities

Jordi Martinez Ortega

thanks a lot Cha Seoh. But is there anyway I can load new Classes? I am getting a "Use of reserved word 'class'" error

Seoh Char

Sorry, I got a mistake. Above of function is called with JavaScript file path.

Read the entire post on Facebook