Merge pull request #5702 from tschaub/no-missing-requires

Add rule to identify missing requires
This commit is contained in:
Tim Schaub
2016-08-13 10:32:41 -06:00
committed by GitHub
189 changed files with 2233 additions and 1913 deletions

View File

@@ -1,7 +1,6 @@
goog.provide('ol.renderer.Map');
goog.provide('ol.RendererType');
goog.require('ol.transform');
goog.require('ol');
goog.require('ol.Disposable');
goog.require('ol.events');
@@ -9,7 +8,8 @@ goog.require('ol.events.EventType');
goog.require('ol.extent');
goog.require('ol.functions');
goog.require('ol.layer.Layer');
goog.require('ol.style.iconImageCache');
goog.require('ol.style');
goog.require('ol.transform');
/**
@@ -104,7 +104,8 @@ ol.renderer.Map.prototype.disposeInternal = function() {
* @private
*/
ol.renderer.Map.expireIconCache_ = function(map, frameState) {
ol.style.iconImageCache.expire();
var cache = ol.style.iconImageCache;
cache.expire();
};