diff options
Diffstat (limited to 'itjs.class')
-rw-r--r-- | itjs.class | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -136,7 +136,11 @@ function filenames($filelist) function strip($code) { if (!preg_match("/^devel/", $GLOBALS['ULTRASERVERTYPE'])) - $code = preg_replace(array('|\s//.*$|m', '|\s+/\*.*?\*/|s', '|^\s+|m'), array(), $code); + $code = preg_replace(array( + '|\s//.*$|m', + '|\s+/\*.*?\*/|s', # MUST require at least one space before "/*" (jquery.js) but MUST NOT require space before "*/" (searchmap.js) + '|^\s+|m' + ), array(), $code); return $code; } |