Merged r1559:r1587 from source:/sandbox/crschmidt/noprototype. OpenLayers is now Prototype-free(tm).

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1588 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Schuyler Erle
2006-10-05 14:50:47 +00:00
parent 33c37ef78b
commit 67ced536c0
51 changed files with 688 additions and 1963 deletions

View File

@@ -5,7 +5,7 @@
/**
* @class
*/
OpenLayers.Control = Class.create();
OpenLayers.Control = OpenLayers.Class.create();
OpenLayers.Control.prototype = {
/** @type String */
@@ -30,7 +30,7 @@ OpenLayers.Control.prototype = {
* @param {Object} options
*/
initialize: function (options) {
Object.extend(this, options);
OpenLayers.Util.extend(this, options);
this.id = OpenLayers.Util.createUniqueID(this.CLASS_NAME + "_");
},