Use olx namespace for options types in source code

sed command used: find src/ol -name '*.js' -exec sed -ri 's/\{ol(\.(\w|\.)+Options\=?\})/{olx\1/' \{\} \;
This commit is contained in:
Éric Lemoine
2013-12-12 14:52:29 +01:00
parent ef703c7147
commit 315c42f0a7
81 changed files with 120 additions and 120 deletions
+4 -4
View File
@@ -84,7 +84,7 @@ ol.View2DProperty = {
* @implements {ol.IView2D}
* @implements {ol.IView3D}
* @extends {ol.View}
* @param {ol.View2DOptions=} opt_options View2D options.
* @param {olx.View2DOptions=} opt_options View2D options.
* @todo stability experimental
* @todo observable center {ol.Coordinate} the center of the view
* @todo observable projection {ol.proj.Projection} the projection of the view
@@ -501,7 +501,7 @@ ol.View2D.prototype.setZoom = function(zoom) {
/**
* @param {ol.View2DOptions} options View2D options.
* @param {olx.View2DOptions} options View2D options.
* @private
* @return {ol.CenterConstraintType}
*/
@@ -516,7 +516,7 @@ ol.View2D.createCenterConstraint_ = function(options) {
/**
* @private
* @param {ol.View2DOptions} options View2D options.
* @param {olx.View2DOptions} options View2D options.
* @return {{constraint: ol.ResolutionConstraintType, maxResolution: number,
* minResolution: number}}
*/
@@ -563,7 +563,7 @@ ol.View2D.createResolutionConstraint_ = function(options) {
/**
* @private
* @param {ol.View2DOptions} options View2D options.
* @param {olx.View2DOptions} options View2D options.
* @return {ol.RotationConstraintType} Rotation constraint.
*/
ol.View2D.createRotationConstraint_ = function(options) {