Replace goog.object.clear() with ol.object.clear()

This commit is contained in:
Tim Schaub
2016-02-03 21:56:18 -07:00
parent f38d8bf824
commit fd394151fd
11 changed files with 134 additions and 107 deletions

View File

@@ -1,7 +1,7 @@
goog.provide('ol.structs.PriorityQueue');
goog.require('goog.asserts');
goog.require('goog.object');
goog.require('ol.object');
/**
@@ -88,7 +88,7 @@ ol.structs.PriorityQueue.prototype.assertValid = function() {
ol.structs.PriorityQueue.prototype.clear = function() {
this.elements_.length = 0;
this.priorities_.length = 0;
goog.object.clear(this.queuedElements_);
ol.object.clear(this.queuedElements_);
};