摘要:
点击此处进行全屏查看©2011 Copyright Ider Zheng此项目中用到的Javascript偏门知识prototype扩展已有的Javascript对象:String.prototype.trim = function(){return this.replace(/^\s+|\s+$/g, "");}Getter只读属性器: get EndlineMatcher() { return /\n|\r|\r\n/g; },String.replace方法接受函数作为参数:function HtmlEncode(original)... 阅读全文