Convert all classes to use new-style class definitions. All tests pass.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1651 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
OpenLayers.Popup.Anchored = OpenLayers.Class.create();
|
||||
OpenLayers.Popup.Anchored.prototype =
|
||||
OpenLayers.Util.extend( new OpenLayers.Popup(), {
|
||||
OpenLayers.Class.inherit( OpenLayers.Popup, {
|
||||
|
||||
/** "lr", "ll", "tr", "tl" - relative position of the popup.
|
||||
* @type String */
|
||||
|
||||
@@ -13,7 +13,7 @@ OpenLayers.Popup.AnchoredBubble = OpenLayers.Class.create();
|
||||
OpenLayers.Popup.AnchoredBubble.CORNER_SIZE = 5;
|
||||
|
||||
OpenLayers.Popup.AnchoredBubble.prototype =
|
||||
OpenLayers.Util.extend( new OpenLayers.Popup.Anchored(), {
|
||||
OpenLayers.Class.inherit( OpenLayers.Popup.Anchored, {
|
||||
|
||||
/** @type DOMElement */
|
||||
contentDiv:null,
|
||||
|
||||
Reference in New Issue
Block a user