From 69932f5576b6c5ca41515a6790dbd4946d71ab8c Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 15 Jul 2008 13:46:57 +0000 Subject: Make javascript stripping compatible with JQuery source code --- itjs.class | 2 +- itjs/loader.js | 2 +- itjs/state.js | 2 +- itjs/timer.js | 2 +- 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 */ } -- cgit v1.2.3