lodash.js support
This commit is contained in:
parent
a124143a69
commit
6768a14802
3 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue