没事改写的addEvent和removeEvent方法
摘要:
没事改写的addEvent和removeEvent方法,有不妥的地方望大大们不吝指出。View Code 1 voidfunction (win) { 2 var _addEvent = win.addEvent, _removeEvent = win.removeEvent, 3 f = { data: {}, key: "__guid__", ele_guid: 1, fun_guid: 1 }, 4 addEvent = win.addEvent =function (obj, type, fn) { 5 var d = f.data, k = f.ke... 阅读全文
posted @ 2011-04-18 19:44 lydiafly 阅读(539) 评论(0) 推荐(0) 编辑