diff --git a/lib/OpenLayers/BaseTypes/Pixel.js b/lib/OpenLayers/BaseTypes/Pixel.js index 3261f01b50..4525e75b16 100644 --- a/lib/OpenLayers/BaseTypes/Pixel.js +++ b/lib/OpenLayers/BaseTypes/Pixel.js @@ -68,7 +68,8 @@ OpenLayers.Pixel = OpenLayers.Class({ * Determine whether one pixel is equivalent to another * * Parameters: - * px - {} + * px - {|Object} An OpenLayers.Pixel or an object with + * a 'x' and 'y' properties. * * Returns: * {Boolean} The point passed in as parameter is equal to this. Note that @@ -123,7 +124,8 @@ OpenLayers.Pixel = OpenLayers.Class({ * APIMethod: offset * * Parameters - * px - {} + * px - {|Object} An OpenLayers.Pixel or an object with + * a 'x' and 'y' properties. * * Returns: * {} A new Pixel with this pixel's x&y augmented by the diff --git a/lib/OpenLayers/BaseTypes/Size.js b/lib/OpenLayers/BaseTypes/Size.js index 1c0039718a..609eb5f17e 100644 --- a/lib/OpenLayers/BaseTypes/Size.js +++ b/lib/OpenLayers/BaseTypes/Size.js @@ -69,12 +69,12 @@ OpenLayers.Size = OpenLayers.Class({ * Determine where this size is equal to another * * Parameters: - * sz - {} + * sz - {|Object} An OpenLayers.Size or an object with + * a 'w' and 'h' properties. * * Returns: * {Boolean} The passed in size has the same h and w properties as this one. * Note that if sz passed in is null, returns false. - * */ equals:function(sz) { var equals = false;