diff --git a/build.py b/build.py index 504cf8054e..f77ef10ac0 100755 --- a/build.py +++ b/build.py @@ -315,8 +315,7 @@ def examples_star_json(name, match): "externs/jquery-1.9.js", "externs/proj4js.js", "externs/tilejson.js", - "externs/topojson.js", - "externs/vbarray.js" + "externs/topojson.js" ], "define": [ "goog.array.ASSUME_NATIVE_FUNCTIONS=true", diff --git a/config/examples-all.json b/config/examples-all.json index 3e75c54f08..11d48e6201 100644 --- a/config/examples-all.json +++ b/config/examples-all.json @@ -20,8 +20,7 @@ "externs/jquery-1.9.js", "externs/proj4js.js", "externs/tilejson.js", - "externs/topojson.js", - "externs/vbarray.js" + "externs/topojson.js" ], "define": [ "goog.array.ASSUME_NATIVE_FUNCTIONS=true", diff --git a/config/ol.json b/config/ol.json index c74879e641..450bcbf909 100644 --- a/config/ol.json +++ b/config/ol.json @@ -10,8 +10,7 @@ "externs/olx.js", "externs/proj4js.js", "externs/tilejson.js", - "externs/topojson.js", - "externs/vbarray.js" + "externs/topojson.js" ], "define": [ "goog.array.ASSUME_NATIVE_FUNCTIONS=true", diff --git a/doc/tutorials/closure.md b/doc/tutorials/closure.md index f1fef84697..3108b592e8 100644 --- a/doc/tutorials/closure.md +++ b/doc/tutorials/closure.md @@ -164,8 +164,7 @@ The minimum config file looks like this: "node_modules/openlayers/externs/geojson.js", "node_modules/openlayers/externs/proj4js.js", "node_modules/openlayers/externs/tilejson.js", - "node_modules/openlayers/externs/topojson.js", - "node_modules/openlayers/externs/vbarray.js" + "node_modules/openlayers/externs/topojson.js" ], "define": [ "goog.array.ASSUME_NATIVE_FUNCTIONS=true", @@ -221,8 +220,7 @@ Here is a version of `config.json` with more compilation checks enabled: "node_modules/openlayers/externs/geojson.js", "node_modules/openlayers/externs/proj4js.js", "node_modules/openlayers/externs/tilejson.js", - "node_modules/openlayers/externs/topojson.js", - "node_modules/openlayers/externs/vbarray.js" + "node_modules/openlayers/externs/topojson.js" ], "define": [ "goog.array.ASSUME_NATIVE_FUNCTIONS=true", diff --git a/doc/tutorials/custom-builds.md b/doc/tutorials/custom-builds.md index 3a2f4da331..4c1f049b21 100644 --- a/doc/tutorials/custom-builds.md +++ b/doc/tutorials/custom-builds.md @@ -57,8 +57,7 @@ Creating a custom build requires writing a build configuration file. The format "externs/olx.js", "externs/proj4js.js", "externs/tilejson.js", - "externs/topojson.js", - "externs/vbarray.js" + "externs/topojson.js" ], "define": [ "goog.array.ASSUME_NATIVE_FUNCTIONS=true", diff --git a/externs/vbarray.js b/externs/vbarray.js deleted file mode 100644 index 187817fd54..0000000000 --- a/externs/vbarray.js +++ /dev/null @@ -1,46 +0,0 @@ -/** - * @externs - * @see http://msdn.microsoft.com/en-us/library/y39d47w8(v=vs.94).aspx - */ - - - -/** - * FIXME check argument type - * @constructor - * @param {VBArray|string} safeArray - */ -var VBArray = function(safeArray) {}; - - -/** - * @return {number} - */ -VBArray.prototype.dimensions = function() {}; - - -/** - * @param {...number} var_args - * @return {*} - */ -VBArray.prototype.getItem = function(var_args) {}; - - -/** - * @param {number=} opt_dimension - * @return {*} - */ -VBArray.prototype.lbound = function(opt_dimension) {}; - - -/** - * @return {Array.} - */ -VBArray.prototype.toArray = function() {}; - - -/** - * @param {number=} opt_dimension - * @return {*} - */ -VBArray.prototype.ubound = function(opt_dimension) {}; diff --git a/tasks/readme.md b/tasks/readme.md index aefbaedd63..bbd1960950 100644 --- a/tasks/readme.md +++ b/tasks/readme.md @@ -53,8 +53,7 @@ Below is a complete `build.json` configuration file that would generate a 'full' "externs/olx.js", "externs/proj4js.js", "externs/tilejson.js", - "externs/topojson.js", - "externs/vbarray.js" + "externs/topojson.js" ], "define": [ "goog.dom.ASSUME_STANDARDS_MODE=true",