use underscore in skipList

This commit is contained in:
Matthias Bartelmeß 2012-03-27 11:44:21 +02:00
parent daca484747
commit e7ac8d6d4a
1 changed files with 6 additions and 4 deletions

View File

@ -20,9 +20,10 @@
* limitations under the License.
*/
var Ace2Common = require('./ace2_common');
var Ace2Common = require('./ace2_common'),
_ = require('./underscore');
var noop = Ace2Common.noop;
var extend = Ace2Common.extend;
function SkipList()
{
@ -324,8 +325,9 @@ function SkipList()
/*
The skip-list contains "entries", JavaScript objects that each must have a unique "key" property
that is a string.
*/
extend(this, {
*/
var self = this;
_.extend(this, {
length: function()
{
return numNodes;