Develop and Download Open Source Software

Browse Subversion Repository

Diff of /js/common.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 25 by berupon, Tue Jan 5 04:25:56 2010 UTC revision 26 by berupon, Thu Jan 7 08:24:43 2010 UTC
# Line 641  String.prototype.htmlspecialchars = func Line 641  String.prototype.htmlspecialchars = func
641          return ch ;          return ch ;
642  }  }
643    
644    function escapeHTML(str) {
645            if (typeof str == String) {
646                    return str.escapeHTML();
647            }else {
648                    return "";
649            }
650    }
651    
652    function htmlspecialchars(str) {
653            if (typeof str == String) {
654                    return str.htmlspecialchars();
655            }else {
656                    return "";
657            }
658    }

Legend:
Removed from v.25  
changed lines
  Added in v.26

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26