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

What is Framer? Join the Community
Return to index
John Marstall
Posted Jun 15 - Read on Facebook

CofeeScript and scoping in modules --

If I make a call to Utils within a @ function, it seems to change the current scope. Can I call out to Utils while keeping the same scope?

2 Comments

Jonas Treub

By using a fat arrow ( => ), you can pass along the scope: http://share.framerjs.com/lbld5kv4b4sd/

John Marstall

Ah.. thanks!

Read the entire post on Facebook