ubilabs/kd-tree-javascript — pull request #5 by philogb (2013-10-30 18:40:28+00:00)
Title: Update kdTree.js

When `content.length` is less than `maxNodes` then that line would fail.