Skip to content

Commit

Permalink
Fixed regEx to work with Unix an PC files.
Browse files Browse the repository at this point in the history
  • Loading branch information
malsup committed Nov 29, 2006
1 parent 3ab145e commit c136717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 );

0 comments on commit c136717

Please sign in to comment.