src/tools.js
// encodeQuery(query) - Convert a query string back into a URI
Convert a query string back into a URI
Convert a query string back into a URI
function encodeQuery(query)
{
	var components = [];
	for (var name in query)
		if (has(query, name))
			components.push(encodeURIPlus(name) + "=" + encodeURIPlus(query[name]));
	return components.join("&");
}
function encodeQuery ( query ) { var components = [ ] ; for ( var name in query ) if ( has ( query , name ) ) components . push ( encodeURIPlus ( name ) + "=" + encodeURIPlus ( query [ name ] ) ) ; return components . join ( "&" ) ; }
encodeQuery(query) - Convert a query string back into a URI
encodeQuery ( query ) - Convert a query string back into a URI