Skip to content
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.

What's up with this 'strict mode' error ? #119

Open
HaunGO opened this issue Mar 1, 2016 · 0 comments
Open

What's up with this 'strict mode' error ? #119

HaunGO opened this issue Mar 1, 2016 · 0 comments

Comments

@HaunGO
Copy link

HaunGO commented Mar 1, 2016

I'm following the setup directions.. .. and I get this error right out of the box.. .. I don't understand it.
var jPM = $.jPanelMenu({ menu: '#side-navigation', trigger: '.side-navigation-button' }); jPM.on();
CONSOLE ERROR:
Uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them

I'm using CodeKit to combine and minify multiple js files... and I noticed that if I DO NOT include this file, I can get it to work.. .. .. SO, what's the problem? How can I minify this and package it up with the rest of my code and use it?

Thanks,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant