Rename sub-sub-namespace typedefs to sub-namespace
These sub-sub-namespace typedefs are only used internally; some of them cause problems by creating a form of circular dependency. For example, ol.style.Atlas is created in style/atlasmanager.js; if ol.style.Atlas.Block is in a separate file, ol.style.Atlas is dependent on it, so the new file must precede ol.style.Atlas. However if it precedes it then it has to create the ol.style.Atlas namespace which should be created by atlasmanager.js. To get round this, these typedefs are renamed to remove the sub-sub-namespace. Fortunately they are all non-api, so the rename should not affect anything.
This commit is contained in:
@@ -104,7 +104,7 @@ ol.renderer.webgl.Map = function(container, map) {
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @type {ol.structs.LRUCache.<ol.renderer.webgl.TextureCacheEntry|null>}
|
||||
* @type {ol.structs.LRUCache.<ol.renderer.webglTextureCacheEntry|null>}
|
||||
*/
|
||||
this.textureCache_ = new ol.structs.LRUCache();
|
||||
|
||||
@@ -294,7 +294,7 @@ ol.renderer.webgl.Map.prototype.disposeInternal = function() {
|
||||
if (!gl.isContextLost()) {
|
||||
this.textureCache_.forEach(
|
||||
/**
|
||||
* @param {?ol.renderer.webgl.TextureCacheEntry} textureCacheEntry
|
||||
* @param {?ol.renderer.webglTextureCacheEntry} textureCacheEntry
|
||||
* Texture cache entry.
|
||||
*/
|
||||
function(textureCacheEntry) {
|
||||
|
||||
Reference in New Issue
Block a user