Skip to content
Permalink
Browse files

Fixed regEx to work with Unix an PC files.

  • Loading branch information
malsup committed Nov 29, 2006
1 parent 3ab145e commit c136717119ec986be67848ec45b56e23d77d51fd
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.
You can’t perform that action at this time.