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

@ -451,7 +451,7 @@ var VisBranch = VisBase.extend({
];
_.each(objs, function(rObj) {
rObj.click(_.bind(this.onClick ,this));
rObj.click(this.onClick.bind(this));
}, this);
},