Jquery 2.1.2 or higher does not work with strict mode.
We are using strict mode on our site and when I try upgrading jquery to version 2.1.2 or 2.1.3, jquery throws the below console error:
Uncaught SyntaxError: In strict mode code, functions can only be declared at top level or immediately within another function.
Is there any way around this without disabling strict mode, or will I just need to wait to upgrade until it gets fixed?