return; // alerT?
}
- if(window.location.href.indexOf("localhost") == -1) {
+ if(window.location.href.indexOf("localhost") !== -1) {
return;
}
console.log(s);
-
},
/**
* Takes an object and converts it to an encoded URL. e.g. Roo.urlEncode({foo: 1, bar: 2}); would return "foo=1&bar=2". Optionally, property values can be arrays, instead of keys and the resulting string that's returned will contain a name/value pair for each array value.