Window()构造函数中的dragHandle:null和skinClassName:null默认值得问题
function Window() { // 默认配置 this.cfg = { ... ... dragHandle : "", skinClassName : "", ... }; }
dragHandle和skinClassName的值是字符串, 默认值设置为""是不是更恰当?
function Window() { // 默认配置 this.cfg = { ... ... dragHandle : "", skinClassName : "", ... }; }
dragHandle和skinClassName的值是字符串, 默认值设置为""是不是更恰当?
2016-11-04
举报