摘要: 这些东西其实早几年就有人讨论了吧,没关系我写给自己看的。http://ejohn.org/apps/learn/#2// The .bind method from Prototype.js Function.prototype.bind = function(){ var fn = this, args = Array.prototype.slice.call(arguments), object = args.shift(); return function(){ return fn.apply(object, args.concat(Array.prototy... 阅读全文
posted @ 2012-11-03 10:28 e.e.p 阅读(303) 评论(0) 推荐(0) 编辑