git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ab145e
)
Fixed regEx to work with Unix an PC files.
author
Mike Alsup
<malsup@gmail.com>
Wed, 29 Nov 2006 23:25:33 +0000
(23:25 +0000)
committer
Mike Alsup
<malsup@gmail.com>
Wed, 29 Nov 2006 23:25:33 +0000
(23:25 +0000)
build/build/lite.js
patch
|
blob
|
history
diff --git
a/build/build/lite.js
b/build/build/lite.js
index
5fb923b
..
d5fc19c
100644
(file)
--- a/
build/build/lite.js
+++ b/
build/build/lite.js
@@
-1,6
+1,6
@@
load("build/js/writeFile.js");
-var blockMatch = /\s*\/\*\*\s*((.|\n)*?)\s*\*\/\n*/g;
+var blockMatch = /\s*\/\*\*\s*((.|\n|\r\n)*?)\s*\*\/\n*/g;
var f = readFile(arguments[0]).replace( blockMatch, "\n" ).replace( /\n\n+/g, "\n\n" );
writeFile( arguments[1], f );