mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 13:08:11 -05:00
Fixed regEx to work with Unix an PC files.
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user