App.on Not recognised?


#1

Hi, I’m getting this really weird error, where the property of on cannot be read…?

main.js code is as follows: https://gist.github.com/JoeFromYT/59eb448f13315845d7e491e97149be34