Remove ol.DEBUG

This commit is contained in:
Tim Schaub
2016-12-29 09:09:24 -07:00
parent 7b9690a691
commit 137cdc04c8
128 changed files with 309 additions and 2027 deletions

View File

@@ -28,7 +28,6 @@ goog.require('ol.webgl.ContextEventType');
* @param {ol.Map} map Map.
*/
ol.renderer.webgl.Map = function(container, map) {
ol.renderer.Map.call(this, container, map);
/**
@@ -77,7 +76,6 @@ ol.renderer.webgl.Map = function(container, map) {
preserveDrawingBuffer: false,
stencil: true
});
ol.DEBUG && console.assert(this.gl_, 'got a WebGLRenderingContext');
/**
* @private
@@ -129,12 +127,12 @@ ol.renderer.webgl.Map = function(container, map) {
});
/**
* @param {ol.Map} map Map.
* @param {?olx.FrameState} frameState Frame state.
* @return {boolean} false.
* @this {ol.renderer.webgl.Map}
*/
/**
* @param {ol.Map} map Map.
* @param {?olx.FrameState} frameState Frame state.
* @return {boolean} false.
* @this {ol.renderer.webgl.Map}
*/
this.loadNextTileTexture_ =
function(map, frameState) {
if (!this.tileTextureQueue_.isEmpty()) {
@@ -157,7 +155,6 @@ ol.renderer.webgl.Map = function(container, map) {
this.textureCacheFrameMarkerCount_ = 0;
this.initializeGL_();
};
ol.inherits(ol.renderer.webgl.Map, ol.renderer.Map);