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

@@ -2,9 +2,9 @@ goog.provide('ol.format.BinaryFeature');
goog.require('goog.asserts');
goog.require('ol.binary.Buffer');
goog.require('ol.browserfeature');
goog.require('ol.format.Feature');
goog.require('ol.format.FormatType');
goog.require('ol.has');
goog.require('ol.proj');
@@ -25,7 +25,7 @@ goog.inherits(ol.format.BinaryFeature, ol.format.Feature);
* @return {ol.binary.Buffer} Buffer.
*/
ol.format.BinaryFeature.getBuffer_ = function(source) {
if (ol.browserfeature.HAS_ARRAY_BUFFER && source instanceof ArrayBuffer) {
if (ol.has.ARRAY_BUFFER && source instanceof ArrayBuffer) {
return new ol.binary.Buffer(source);
} else if (goog.isString(source)) {
return new ol.binary.Buffer(source);