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

What is Framer? Join the Community
Return to index
Jason Sparks
Posted Mar 11 - Read on Facebook

Anyone know how to create a Framer module with more than one function?

I've tried 'exports.myArray = {
method: function() {},
otherMethod: function() {}

Framer just complains of ModuleBuildError near method:function() {}.

I'm guessing the syntax is different in CoffeeScript.


Peter Ryan Zich

You can use the .js extension instead of .coffee for your modules if you want to use regular JS.

Read the entire post on Facebook