aboutsummaryrefslogtreecommitdiffstats
path: root/template-common/scripts.js
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-10-10 13:11:31 +0000
committerrvelices <rv-github@modusoptimus.com>2008-10-10 13:11:31 +0000
commit0e5f5a74b31c0df471304ccfdb57cba7a26b9925 (patch)
treeaf9378dfae9636f42e0f05d105af20f8f3bcaafc /template-common/scripts.js
parent11df0cb50241fa098d492ce27e6b01b179f95f6b (diff)
- replace a preg_match with simple comparison (faster)
- try to get rid of some JS strict warnings in FF (hope it's fixed) - template.class.php is included from functions.inc.php instead of common,upgrade,install (maybe later I will try to see the perf impact of compacting/compiling functions.inc.php together with the included files from itself) git-svn-id: http://piwigo.org/svn/trunk@2700 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template-common/scripts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/template-common/scripts.js b/template-common/scripts.js
index 4e5ef822f..519786ab7 100644
--- a/template-common/scripts.js
+++ b/template-common/scripts.js
@@ -79,7 +79,7 @@ Function.prototype.pwgBind = function() {
return function() { return __method.apply(object, args); }
}
-PwgWS = function(urlRoot)
+function PwgWS(urlRoot)
{
this.urlRoot = urlRoot;
this.options = {