摘要: function Event() { this.events = {}; } Event.prototype.on = function(attr, callback) { if(this.events[attr]) { this.events[attr].push(c... 阅读全文
posted @ 2017-03-09 10:15 good_web_developer 阅读(122) 评论(0) 推荐(0) 编辑