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

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

Thanks for the modules guys! Glad that it's finally available. Is there a reason why module = require [module name] doesn't work if the first letter isn't lowercase?

It will accept a file named "deviceType" but not "DeviceType"?

2 Comments

Koen Bok

Hmm I can't reproduce, are you sure it's the name?

http://d.pr/i/13BOA

Joshua Tucker

Is it possible that the equivalent .js file conflicts with it when I require it in Framer? So Sublime compiles both the .coffee and .js file of the same name, just different file extension.

Read the entire post on Facebook