[Plugin: Better WordPress Minify] use strict
-
Just reading an article on writing forward compatible websites and alerts to a potential problem you might have if you are using a tool like bwp-minify.
Don’t concatenate scripts you don’t control
The “use strict;” directive in ECMAScript, when used on the file level, applies to everything in the file. So appending a script that depends on non-strict-mode behavior to a strict-mode script will cause things to break.
https://developer.mozilla.org/Writing_Forward_Compatible_Websites
- The topic ‘[Plugin: Better WordPress Minify] use strict’ is closed to new replies.