Rename ol.browserfeature to ol.has

This commit is contained in:
Tim Schaub
2014-08-21 14:46:10 -06:00
parent 403e87f697
commit 947b049799
21 changed files with 66 additions and 66 deletions

View File

@@ -1,6 +1,6 @@
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.browserfeature');
goog.require('ol.has');
goog.require('ol.layer.Tile');
goog.require('ol.proj');
goog.require('ol.source.BingMaps');
@@ -15,7 +15,7 @@ function setResetSaturationButtonHTML() {
layer.getSaturation().toFixed(2) + ')';
}
if (!ol.browserfeature.HAS_WEBGL) {
if (!ol.has.WEBGL) {
var info = document.getElementById('no-webgl');
/**
* display error message