got rid of every underscore bind i think -- 1500 line diff

This commit is contained in:
Peter Cottle 2015-04-20 16:41:56 +10:00
parent 3833319476
commit 2257668f9d
21 changed files with 229 additions and 230 deletions

View file

@ -84,15 +84,15 @@ var MultiView = Backbone.View.extend({
},
getPosFunc: function() {
return _.debounce(_.bind(function() {
return _.debounce(function() {
this.navForward();
}, this), this.navEventDebounce, true);
}.bind(this), this.navEventDebounce, true);
},
getNegFunc: function() {
return _.debounce(_.bind(function() {
return _.debounce(function() {
this.navBackward();
}, this), this.navEventDebounce, true);
}.bind(this), this.navEventDebounce, true);
},
lock: function() {