Removed unnecessary base param from Scale control.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@924 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-07-08 06:20:36 +00:00
parent 70df45d160
commit 3d59c93b9d

View File

@@ -21,9 +21,6 @@ OpenLayers.Control.Scale.prototype =
/** @type DOMElement */
element: null,
/** @type String */
base: '',
/** @type String */
units: 'dd',
@@ -36,10 +33,9 @@ OpenLayers.Control.Scale.prototype =
* @param {DOMElement} element
* @param {String} base
*/
initialize: function(element, base, units) {
initialize: function(element, units) {
OpenLayers.Control.prototype.initialize.apply(this, arguments);
this.element = element;
if (base) this.base = base;
if (units) this.units = units;
},