lodash.js support

This commit is contained in:
Pavel Reznikov 2015-03-10 23:10:26 -07:00
commit 6768a14802
3 changed files with 3 additions and 3 deletions

View file

@ -153,7 +153,7 @@
if (i > 0) {
var collision_node = _.chain(this.nodes)
.first(i)
.take(i)
.find(function (bn) {
return Utils.is_intercepted({x: n.x, y: new_y, width: n.width, height: n.height}, bn);
})