function parseQueryString(query) {
  var parts = query.split('&');
  var params = {};
  for (var i = 0, ii = parts.length; i < ii; ++i) {
    var param = parts[i].split('=');
    var key = param[0].toLowerCase();
    var value = param.length > 1 ? param[1] : null;
    params[decodeURIComponent(key)] = decodeURIComponent(value);
  }
  return params;
}
/**
 * Helper function to parse query string (e.g. ?param1=value&parm2=...).
 */
Helper function to parse query string .
Helper function to parse query string .
function parseQueryString(query) {
  var parts = query.split('&');
  var params = {};
  for (var i = 0, ii = parts.length; i < ii; ++i) {
    var param = parts[i].split('=');
    var key = param[0].toLowerCase();
    var value = param.length > 1 ? param[1] : null;
    params[decodeURIComponent(key)] = decodeURIComponent(value);
  }
  return params;
}
function parseQueryString ( query ) { var parts = query . split ( '&' ) ; var params = { } ; for ( var i = 0 , ii = parts . length ; i < ii ; ++ i ) { var param = parts [ i ] . split ( '=' ) ; var key = param [ 0 ] . toLowerCase ( ) ; var value = param . length > 1 ? param [ 1 ] : null ; params [ decodeURIComponent ( key ) ] = decodeURIComponent ( value ) ; } return params ; }
Helper function to parse query string (e.g.
Helper function to parse query string ( e . g .