0
我失去了咖啡文件..所以我試圖追溯到js文件咖啡和我使用js2coffee網站做到這一點...但這段代碼令人困惑..我不'不記得我在咖啡中寫道什麼是這個咖啡等效的
function PersonalEdit() {
this.changeNR = __bind(this.changeNR, this);
this.changeDisability = __bind(this.changeDisability, this);
this.changeMaritalStatus = __bind(this.changeMaritalStatus, this);
return PersonalEdit.__super__.constructor.apply(this, arguments);
}
我可以追溯功能構造
constructor: ->
super
什麼是關於__bind..I知道他們是脂肪生成arrow.but怎麼能這樣在構造函數中...
超級真棒。謝謝 – coool 2014-09-04 14:49:34