move observers definition to top of object definition for readability

git-svn-id: http://svn.openlayers.org/trunk/openlayers@2984 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-04-03 01:26:39 +00:00
parent 8007b6719a
commit ade794259f

View File

@@ -10,6 +10,12 @@
*/
OpenLayers.Event = {
/** A hashtable cache of the event observers, keyed by element.id
*
* @type Object
*/
observers: false,
/** @final @type int */
KEY_BACKSPACE: 8,
@@ -113,12 +119,6 @@ OpenLayers.Event = {
return element;
},
/** A hashtable cache of the event observers, keyed by element.id
*
* @type Object
*/
observers: false,
/**
* @param {DOMElement} element
* @param {String} name