diff options
Diffstat (limited to 'itjs.class')
-rw-r--r-- | itjs.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |