acolangelo/jPanelMenu

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

Opened this issue · 0 comments

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,