offset: make sure there is a parent node to work on while calculating scroll offsets...
[jquery.git] / build / build / lite.js
index 650009a..d5fc19c 100644 (file)
@@ -1,6 +1,6 @@
 load("build/js/writeFile.js");
 
-var blockMatch = /\s*\/\*\*\s*((.|\n)*?)\s*\*\/\n*/g;
-var f = readFile(arguments[0]).replace( blockMatch, "\n" );
+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 );