Ignore:
Timestamp:
04/23/10 10:41:56 (14 years ago)
Author:
rodsouza
Message:

Ticket #1009 - Organizando o HTML do template default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/js/tools/xobject.js

    r2561 r2623  
    1818                } 
    1919        }; 
     20 
     21        String.prototype.trim = function( ) 
     22        { 
     23                return this.replace( /^ +| +$/g, '' ); 
     24        } 
    2025 
    2126        function f( n ) 
     
    6166        { 
    6267                escapable.lastIndex = 0; 
    63                 return escapable.test(string) ? 
     68                return escapable.test( string ) ? 
    6469                        '"' + string.replace(escapable, function (a) 
    65                                         { 
    66                                         var c = meta[a]; 
    67                                         return typeof c === 'string' ? c : 
     70                        { 
     71                                var c = meta[ a ]; 
     72                                return typeof c === 'string' ? c : 
    6873                                        '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); 
    69                                         }) + '"' : 
    70                 '"' + string + '"'; 
     74                        } ) + '"' : '"' + string + '"'; 
    7175        } 
    7276 
Note: See TracChangeset for help on using the changeset viewer.