lib/qtree.js
// put an object to one of the child nodes of this node
put an object to one of the child nodes of this node
put an object to one of the child nodes of this node
function put_to_nodes(node, obj) {
        var leaf = isleaf(node, obj)
        if( leaf.leaf )
            node.l.push(obj)
        else if( leaf.childnode )
            put(leaf.childnode, obj)
        else
            return
    }
function put_to_nodes ( node , obj ) { var leaf = isleaf ( node , obj ) if ( leaf . leaf ) node . l . push ( obj ) else if ( leaf . childnode ) put ( leaf . childnode , obj ) else return }
put an object to one of the child nodes of this node
put an object to one of the child nodes of this node