https://gyazo.com/327bb828250ece332845a5f199a6f9ed
^ That's the picture of the code I get when I press F8.
The program tells me every time I save that "undefined is not a function" or something close to that. It's also a Type Error if that helps anyone.
I've been racking my brain for an hour or two trying to understand what I'm doing wrong, but I was never good with this more 'advanced' part of plugins to begin with. If anyone could help me it would be greatly appreciated.
^ That's the picture of the code I get when I press F8.
The program tells me every time I save that "undefined is not a function" or something close to that. It's also a Type Error if that helps anyone.
I've been racking my brain for an hour or two trying to understand what I'm doing wrong, but I was never good with this more 'advanced' part of plugins to begin with. If anyone could help me it would be greatly appreciated.