Google Closure Breaks Javascript
-
When you use Google Closure to compress wootpm.js it has trouble with the varExists function.
if (typeof varExists !== "function") { function varExists(varName) {
becomes:
if("function"!==typeof varExists)var varExists$0=function(a){
which is incorrect. To correct this I believe this is all that needs to change:
if (typeof varExists !== "function") { window.varExists = function(varName) {
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Google Closure Breaks Javascript’ is closed to new replies.