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 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'itjs.class') 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; } -- cgit v1.2.3