context: dojo.io.argsFromMap = function(/*Object*/ map, /*String*/ encoding, /*String*/ last){	// summary:	//		Converts name/values pairs in the map object to an URL-encoded string	//		with format of name1=value1&name2=value2...	//		map:	//			Object that has the contains the names and values.	//		encoding:	//			String to specify how to encode the name and value. If the encoding string	//			contains "utf" (case-insensitive), then encodeURIComponent is used. Otherwise	//			dojo.string.encodeAscii is used.	//		last:	//			The last parameter in the list. Helps with final string formatting?	var enc = /utf/i.test(encoding||"") ? encodeURIComponent : dojo.string.encodeAscii;	var mapped = [];	var control = new Object();	for(var name in map){		var domap = function(elt){			var val = enc(name)+"="+enc(elt);			mapped[(last == name) ? "push" : "unshift"](val);		}		if(!control[name]){			var value = map[name];			// FIXME: should be isArrayLike?			if (dojo.lang.isArray(value)){				dojo.lang.forEach(value, domap);			}else{				domap(value);			}		}	}	return mapped.join("&"); //String}
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/dojo.js.uncompressed.js/buggy/www/resources/dojo-ajax/dojo.js.uncompressed.js