2011-06-19から1日間の記事一覧

function.bindの問題、解決できず。

深く考えることができず、ギブアップ。 if (! Function.prototype.bind2) { Function.prototype.bind2 = function (obj) { var ap = Array.prototype; var args = ap.slice.call (arguments, 1); var that = this; var rFunc = function () { return that.ap…