I’m (trying to) learn how to write Framer modules.For the life of me I can’t get this simple attempt to work.Here's the error message and framer link:
Please help this noob out :D
/cc Jordan Robert Dobson
Hey Gideon! You're almost there. But your module has the same name as the exported class _inside_ your module.
myModule = new myModule.myModule
Which is not helping, I would name it like:
myThing = new myModule.myClass()
Oh my word that's what's missing? Thanks Koen - much appreciated :D
Koen Bok Maybe you can also help me understand when to use the @define for properties you want to expose.Compared to this example http://coffeescript-cookbook.github.io/chapters/classes_and_objects/class-methods-and-instance-methods
So is @define a Framer specific way of exposing public properties?