diff options
author | David Flatz | 2014-09-15 17:04:49 +0200 |
---|---|---|
committer | David Flatz | 2014-09-15 17:04:49 +0200 |
commit | 9710e03e57e012cad6a466945fec95383f1d32da (patch) | |
tree | 670fdbdc5b36027b629b71fe8d40f75f4c939f14 | |
parent | e78701e60b396597e06ef7491f249797c9b22897 (diff) | |
download | itools-9710e03e57e012cad6a466945fec95383f1d32da.tar.gz itools-9710e03e57e012cad6a466945fec95383f1d32da.tar.bz2 itools-9710e03e57e012cad6a466945fec95383f1d32da.zip |
revert last commit since it didn't work
-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); |