* pack a javascript file, and return a shorter version!
*
* a bit picky at present with ; and crlf reading...
* pack a javascript file, and return a shorter version!
*
* a bit picky at present with ; and crlf reading...
- if (ts.look(1).isTypeN(Script.TOKassign) && ts.look(2).isTypeN(Script.TOKnew) &&
- ts.look(3).isTypeN(Script.TOKfunction)) {
+ if (ts.lookTok(1).data == '=' && ts.lookTok(2).name == 'NEW' &&
+ ts.look(3).name == 'FUNCTION') {