Rename MapRenderer attribut 'target' to 'container' to follow the new conventions.

This commit is contained in:
Petr Pridal
2012-06-21 17:01:21 +02:00
parent 8448aba616
commit 08ad8c80d6

View File

@@ -16,10 +16,10 @@ goog.require('goog.webgl');
/**
* Initialization of the native WebGL renderer (canvas, context, layers)
* @constructor
* @param {!Element} target
* @param {!Element} container
* @extends {ol.renderer.MapRenderer}
*/
ol.renderer.WebGL = function(target) {
ol.renderer.WebGL = function(container) {
/**
* @private
@@ -40,9 +40,9 @@ ol.renderer.WebGL = function(target) {
}));
goog.asserts.assert(!goog.isNull(this.gl_), "The WebGL is not supported on your browser. Check http://get.webgl.org/");
goog.dom.append(target, this.canvas_);
goog.dom.append(container, this.canvas_);
goog.base(this, target);
goog.base(this, container);
/**
* @private