diff --git a/lib/OpenLayers/Popup/AnchoredBubble.js b/lib/OpenLayers/Popup/AnchoredBubble.js index cda53a3f1e..478a953785 100644 --- a/lib/OpenLayers/Popup/AnchoredBubble.js +++ b/lib/OpenLayers/Popup/AnchoredBubble.js @@ -11,7 +11,8 @@ * Inherits from: * - */ -OpenLayers.Popup.AnchoredBubble = OpenLayers.Class(OpenLayers.Popup.Anchored, { +OpenLayers.Popup.AnchoredBubble = + OpenLayers.Class(OpenLayers.Popup.Anchored, { /** * Property: rounded @@ -29,7 +30,7 @@ OpenLayers.Popup.AnchoredBubble = OpenLayers.Class(OpenLayers.Popup.Anchored, { * contentHTML - {String} * anchor - {Object} Object to which we'll anchor the popup. Must expose * a 'size' () and 'offset' () - * (Note that this is generally an ) + * (Note that this is generally an ). * closeBox - {Boolean} */ initialize:function(id, lonlat, size, contentHTML, anchor, closeBox) { @@ -43,7 +44,7 @@ OpenLayers.Popup.AnchoredBubble = OpenLayers.Class(OpenLayers.Popup.Anchored, { * px - {} * * Returns: - * {DOMElement} Reference to a div that contains the drawn popup + * {DOMElement} Reference to a div that contains the drawn popup. */ draw: function(px) { @@ -101,7 +102,8 @@ OpenLayers.Popup.AnchoredBubble = OpenLayers.Class(OpenLayers.Popup.Anchored, { if (this.div != null) { if (this.contentDiv != null) { this.div.style.background = "transparent"; - OpenLayers.Rico.Corner.changeColor(this.contentDiv, this.backgroundColor); + OpenLayers.Rico.Corner.changeColor(this.contentDiv, + this.backgroundColor); } } }, @@ -119,14 +121,14 @@ OpenLayers.Popup.AnchoredBubble = OpenLayers.Class(OpenLayers.Popup.Anchored, { if (this.div != null) { if (this.contentDiv != null) { - OpenLayers.Rico.Corner.changeOpacity(this.contentDiv, this.opacity); + OpenLayers.Rico.Corner.changeOpacity(this.contentDiv, + this.opacity); } } }, /** * Method: setBorder - * * Always sets border to 0. Bubble Popups can not have a border. * * Parameters: @@ -138,12 +140,10 @@ OpenLayers.Popup.AnchoredBubble = OpenLayers.Class(OpenLayers.Popup.Anchored, { /** * Method: setRicoCorners - * * Update RICO corners according to the popup's current relative postion. * * Parameters: - * firstTime - {Boolean} Is this the first time the corners are being - * rounded? + * firstTime - {Boolean} This the first time the corners are being rounded. */ setRicoCorners:function(firstTime) { @@ -167,7 +167,7 @@ OpenLayers.Popup.AnchoredBubble = OpenLayers.Class(OpenLayers.Popup.Anchored, { * Method: getCornersToRound * * Returns: - * {String} The proper corners string ("tr tl bl br") for rico to round + * {String} The proper corners string ("tr tl bl br") for rico to round. */ getCornersToRound:function() { @@ -185,7 +185,7 @@ OpenLayers.Popup.AnchoredBubble = OpenLayers.Class(OpenLayers.Popup.Anchored, { /** * Constant: CORNER_SIZE - * {Integer} 5. Border space for the RICO corners + * {Integer} 5. Border space for the RICO corners. */ OpenLayers.Popup.AnchoredBubble.CORNER_SIZE = 5;