Move constants from ol.has to ol

This commit is contained in:
tsauerwein
2014-11-24 09:42:10 +01:00
parent 3ed46c50cc
commit e307579d49
4 changed files with 22 additions and 23 deletions

View File

@@ -5,7 +5,6 @@ goog.require('goog.asserts');
goog.require('goog.events');
goog.require('goog.log');
goog.require('goog.object');
goog.require('ol.has');
goog.require('ol.webgl.Buffer');
goog.require('ol.webgl.WebGLContextEventType');
@@ -70,7 +69,7 @@ ol.webgl.Context = function(canvas, gl) {
* @type {boolean}
*/
this.hasOESElementIndexUint = goog.array.contains(
ol.has.WEBGL_EXTENSIONS, 'OES_element_index_uint');
ol.WEBGL_EXTENSIONS, 'OES_element_index_uint');
// use the OES_element_index_uint extension if available
if (this.hasOESElementIndexUint) {