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

What is Framer? Join the Community
Return to index
Florian Pnn
Posted Aug 06 - Read on Facebook

Anyone know why this is not working?
I can see the 'songList' layer but can't access it in the code.

2 Comments

Tisho Georgiev

Variables that you declare in your .coffee files are not accessible outside of those files unless you specifically attach them to the window object, which would make them global. To do that:

window.songList = new Layer x:0, y:129...

Then you'll be able to access songList through the console.

Florian Pnn

Ok, thanks! I didn't know that :)
I'm still with the Sublime and JS stuffs in mind!

Read the entire post on Facebook