Hi guys,I was looking into adding simpler functions in my Classes, but the example Framer's website provides has… wrong code?
How can I fix this?
Error: TypeError: Button.deactivate is not a function. (In 'Button.deactivate()', 'Button.deactivate' is undefined)
Looks good, just tab those functions over one tab, so that they're under 'constructor'. Coffeescript is weird about whitespace.
Oh shoot. I'm dumb. Everytime I copy/paste from the website, I end up messing up spaces (I have to convert them in tabs)
Thanks a lot!
No problem, that issue happens all the time.