2012年11月25日
摘要: /* * Function.prototype.bind 外置函数; * 当连续bind事件的时候无法保证顺序; */if(!Function.prototype.bind){ Function.prototype.bind = function(){ var args = Array.prototype.slice.call(arguments); var _obj = args.shift(); var _fun = this; return function(){ return _fun.apply(_o... 阅读全文
posted @ 2012-11-25 20:54 somesayss 阅读(1197) 评论(0) 推荐(0) 编辑