From 9710e03e57e012cad6a466945fec95383f1d32da Mon Sep 17 00:00:00 2001 From: David Flatz Date: Mon, 15 Sep 2014 17:04:49 +0200 Subject: revert last commit since it didn't work --- itjs.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itjs.class b/itjs.class index 7ac7c1f..fb3ac13 100644 --- a/itjs.class +++ b/itjs.class @@ -171,7 +171,7 @@ static function strip($code) { if (!it::is_devel()) $code = preg_replace(array( - '|(?<=\s//).*$|m', # we use a lookbehind assertion (?<=) to check for beginning of a comment and then strip the rest of the line. we need to keep the newline and // characters to prevent blackberry app from crashing sporadically on startup + '|\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); -- cgit v1.2.3