Franck Marcia schrieb:
> It's not because of the code but because of the "data". There are many 
> contributors now, using different OS which means different ways to 
> insert a character when you strike "enter" :-)
> In short, the current regexp blockMatch in build/build/lite.js doesn't take 
> '\r' into account.
>
> A quick and dirty way to fix the problem is to insert .replace( /\r/g, "" ) 
> just after readFile(...) and before any other replace.
>   
Thanks Franck!

I tried your quick and dirty fix for lite: It worked but was awfully 
slow. To solve the problem, I changed the use of readFile to my own read 
function, that uses some java classes to replace line ends with a simple 
\n. At least docs and test build now run again, but lite doesn't, maybe 
due to limitations of Rhino or due to limitations of my knowledge of Rhino.

-- Jörn

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to