Ticket #3504: 3504.patch

File 3504.patch, 536 bytes (added by Wiktor Walc, 15 years ago)
  • _source/includes/scriptcompressor.js

     
    881881                                {
    882882                                        var id = String( ids[ counter++ ] );
    883883
    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 ) )
    885885                                                outString( id );
    886886                                        else
    887887                                                out( id );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy