diff options
author | Mike Alsup <malsup@gmail.com> | 2006-11-29 23:25:33 +0000 |
---|---|---|
committer | Mike Alsup <malsup@gmail.com> | 2006-11-29 23:25:33 +0000 |
commit | c136717119ec986be67848ec45b56e23d77d51fd (patch) | |
tree | 5bbb3b6990d1f104fcf73ec7d11db087669249b2 /build | |
parent | 3ab145e5aaf68fca0973cb3a8a268739729a90d6 (diff) | |
download | jquery-c136717119ec986be67848ec45b56e23d77d51fd.tar.gz jquery-c136717119ec986be67848ec45b56e23d77d51fd.zip |
Fixed regEx to work with Unix an PC files.
Diffstat (limited to 'build')
-rw-r--r-- | build/build/lite.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/build/lite.js b/build/build/lite.js index 5fb923b84..d5fc19c72 100644 --- 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 ); |