Changeset 241 for trunk/common

Show
Ignore:
Timestamp:
11/02/07 17:06:58 (2 years ago)
Author:
ydnar
Message:

removed unused escaping functions

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/common/Core.js

    r238 r241  
    452452     
    453453     
    454     escapeJS2: function() { 
    455         return this.replace( /([\u0000-\u0031'"\\])/g, function( m, c ) { return String.escapeJSChar( c ); } ) 
    456     }, 
    457      
    458      
    459     escapeJS3: function() { 
    460         return this.replace( /[\u0000-\u0031'"\\]/g, function( m ) { return String.escapeJSChar( m ); } ) 
    461     }, 
    462      
    463      
    464     escapeJS4: function() { 
    465         return this.replace( /./g, function( m ) { return String.escapeJSChar( m ); } ) 
    466     }, 
    467      
    468      
    469454    encodeHTML: function() { 
    470455        return this.replace( /([<>&"])/g, function( m, c ) { return String.encodeEntity( c ) } ); /* fix syntax highlight: " */