summaryrefslogtreecommitdiff
path: root/itjs.class
diff options
context:
space:
mode:
authorChristian Schneider2008-07-15 13:46:57 +0000
committerChristian Schneider2008-07-15 13:46:57 +0000
commit69932f5576b6c5ca41515a6790dbd4946d71ab8c (patch)
tree723dd9f5754004c163d91203f2cb1b482d2a4c21 /itjs.class
parent806228fef0435fd18c51afcb9f872300956f2261 (diff)
downloaditools-69932f5576b6c5ca41515a6790dbd4946d71ab8c.tar.gz
itools-69932f5576b6c5ca41515a6790dbd4946d71ab8c.tar.bz2
itools-69932f5576b6c5ca41515a6790dbd4946d71ab8c.zip
Make javascript stripping compatible with JQuery source code
Diffstat (limited to 'itjs.class')
-rw-r--r--itjs.class2
1 files changed, 1 insertions, 1 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;
}