Rename BrowserFeature to browserfeature
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
goog.provide('ol.format.BinaryFeature');
|
||||
|
||||
goog.require('goog.asserts');
|
||||
goog.require('ol.BrowserFeature');
|
||||
goog.require('ol.binary.Buffer');
|
||||
goog.require('ol.browserfeature');
|
||||
goog.require('ol.format.Feature');
|
||||
goog.require('ol.format.FormatType');
|
||||
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.browserfeature.HAS_ARRAY_BUFFER && source instanceof ArrayBuffer) {
|
||||
return new ol.binary.Buffer(source);
|
||||
} else if (goog.isString(source)) {
|
||||
return new ol.binary.Buffer(source);
|
||||
|
||||
Reference in New Issue
Block a user