From: Mike Alsup Date: Wed, 29 Nov 2006 23:25:33 +0000 (+0000) Subject: Fixed regEx to work with Unix an PC files. X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=c136717119ec986be67848ec45b56e23d77d51fd;p=jquery.git Fixed regEx to work with Unix an PC files. --- diff --git a/build/build/lite.js b/build/build/lite.js index 5fb923b..d5fc19c 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 );