Some problems in the documentation detected using "closure_verify"

This commit is contained in:
Xavier Mamano
2012-01-07 19:29:41 +01:00
parent fc43ea715a
commit b7dee9ca6d
40 changed files with 98 additions and 56 deletions

View File

@@ -24,8 +24,9 @@ OpenLayers.Util = OpenLayers.Util || {};
*
* Parameters:
* e - {String or DOMElement or Window}
*
* Return:
* {Array(DOMElement)}
* {Array(DOMElement) or DOMElement}
*/
OpenLayers.Util.getElement = function() {
var elements = [];
@@ -66,7 +67,7 @@ OpenLayers.Util.isElement = function(o) {
* Parameters:
* a - {Object} the object test.
*
* Returns
* Returns:
* {Boolean} true if the object is an array.
*/
OpenLayers.Util.isArray = function(a) {
@@ -89,7 +90,7 @@ if(typeof window.$ === "undefined") {
* array - {Array}
* item - {Object}
*
* Return
* Returns:
* {Array} A reference to the array
*/
OpenLayers.Util.removeItem = function(array, item) {
@@ -1310,10 +1311,12 @@ OpenLayers.Util.isEquivalentUrl = function(url1, url2, options) {
*
* Parameters:
* url - {String}
* options - {Object} A hash of options. Can be one of:
* ignoreCase: lowercase url,
* ignorePort80: don't include explicit port if port is 80,
* ignoreHash: Don't include part of url after the hash (#).
* options - {Object} A hash of options.
*
* Options can be one of:
* ignoreCase - {Boolean} lowercase url,
* ignorePort80 - {Boolean} don't include explicit port if port is 80,
* ignoreHash - {Boolean} Don't include part of url after the hash (#).
*
* Returns:
* {Object} An object with separate url, a, port, host, and args parsed out