5 ms·
I usually use `that`. I've seen examples use `self`, but that could potentially conflict with `window.self` in the browser. var that = this; return fun
by joshd 16y ago
I usually use `that`. I've seen examples use `self`, but that could potentially conflict with `window.self` in the browser.
var that = this;
return function(){
that.fire();
}
- deleted 16y ago[deleted]
- Johngibb 16y agoI've used $this before