Ticket #3504: 3504.patch
File 3504.patch, 536 bytes (added by , 15 years ago) |
---|
-
_source/includes/scriptcompressor.js
881 881 { 882 882 var id = String( ids[ counter++ ] ); 883 883 884 if ( isReserved( id ) || !/^(?:(?:[a-zA-Z$_][\w$_]*)|(?: \d+))$/.test( id ) )884 if ( isReserved( id ) || !/^(?:(?:[a-zA-Z$_][\w$_]*)|(?:0|[1-9]\d*))$/.test( id ) ) 885 885 outString( id ); 886 886 else 887 887 out( id );