summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2008-07-15 13:46:57 +0000
committerChristian Schneider2008-07-15 13:46:57 +0000
commit69932f5576b6c5ca41515a6790dbd4946d71ab8c (patch)
tree723dd9f5754004c163d91203f2cb1b482d2a4c21
parent806228fef0435fd18c51afcb9f872300956f2261 (diff)
downloaditools-69932f5576b6c5ca41515a6790dbd4946d71ab8c.tar.gz
itools-69932f5576b6c5ca41515a6790dbd4946d71ab8c.tar.bz2
itools-69932f5576b6c5ca41515a6790dbd4946d71ab8c.zip
Make javascript stripping compatible with JQuery source code
-rw-r--r--itjs.class2
-rw-r--r--itjs/loader.js2
-rw-r--r--itjs/state.js2
-rw-r--r--itjs/timer.js2
4 files changed, 4 insertions, 4 deletions
diff --git a/itjs.class b/itjs.class
index 8482228..5e7a716 100644
--- a/itjs.class
+++ b/itjs.class
@@ -136,7 +136,7 @@ function filenames($filelist)
function strip($code)
{
if (!preg_match("/^devel/", $GLOBALS['ULTRASERVERTYPE']))
- $code = preg_replace(array('|\s//.*$|m', '|/\*.*?\*/|s', '|^\s+|m'), array(), $code);
+ $code = preg_replace(array('|\s//.*$|m', '|\s/\*.*?\s\*/|s', '|^\s+|m'), array(), $code);
return $code;
}
diff --git a/itjs/loader.js b/itjs/loader.js
index 99b918d..db98583 100644
--- a/itjs/loader.js
+++ b/itjs/loader.js
@@ -268,7 +268,7 @@ unlink: function(callid)
}
it_loader.sequence = "";
-}/* NO COMMA */
+} /* NO COMMA */
}
diff --git a/itjs/state.js b/itjs/state.js
index 70d9909..e5e7c97 100644
--- a/itjs/state.js
+++ b/itjs/state.js
@@ -111,7 +111,7 @@ store_state: function()
}
this.it_history_field.value = ser.join(',');
-}/* NO COMMA */
+} /* NO COMMA */
}
function it_state_restore_history()
diff --git a/itjs/timer.js b/itjs/timer.js
index 25ebbec..ee04cbb 100644
--- a/itjs/timer.js
+++ b/itjs/timer.js
@@ -24,7 +24,7 @@ stop: function()
window["clear" + this.func](this.timer);
this.timer = null;
}
-}/* NO COMMA */
+} /* NO COMMA */
}