hash -> hashtable and Hash -> Object -- let there be no confusion, we are *not* using prototype

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1144 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-08-09 04:36:39 +00:00
parent f65ea55fa3
commit f339e3a93d
14 changed files with 37 additions and 31 deletions

View File

@@ -14,7 +14,8 @@ OpenLayers.Layer.HTTPRequest.prototype =
/** @type String */
url: null,
/** @type Hash */
/** Hashtable of key/value parameters
* @type Object */
params: null,
/**
@@ -22,8 +23,8 @@ OpenLayers.Layer.HTTPRequest.prototype =
*
* @param {String} name
* @param {String} url
* @param {hash} params
* @param {Object} options Hash of extra options to tag onto the layer
* @param {Object} params
* @param {Object} options Hashtable of extra options to tag onto the layer
*/
initialize: function(name, url, params, options) {
var newArguments = arguments;
@@ -114,7 +115,7 @@ OpenLayers.Layer.HTTPRequest.prototype =
// requestString always starts with url
var requestString = url;
// create a new params hash with all the layer params and the
// create a new params hashtable with all the layer params and the
// new params together. then convert to string
var allParams = Object.extend(new Object(), this.params);
var allParams = Object.extend(allParams, newParams);