Skip to content

Instantly share code, notes, and snippets.

// AVLTree ///////////////////////////////////////////////////////////////////
// This file is originally from the Concentré XML project (version 0.2.1)
// Licensed under GPL and LGPL
//
// Modified by Jeremy Stephens.
// and by Jacob Finkelman.
// Pass in the attribute you want to use for comparing
function AVLTree(n, attr) {
return new AVLTree.prototype.init(n, attr);