b374k
m1n1 1.01
Apache/2.4.41 (Ubuntu)
Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64
uid=33(www-data) gid=33(www-data) groups=33(www-data)
server ip : 62.171.164.128 | your ip : 127.0.0.1
safemode OFF
 >  / home / dev2.destoffenstraat.com / lib / web / jquery /
Filename/home/dev2.destoffenstraat.com/lib/web/jquery/jquery.parsequery.js
Size1.4 kb
Permissionrw-r--r--
Ownerroot : root
Create time17-Aug-2025 10:26
Last modified28-Jan-2025 06:45
Last accessed22-Aug-2025 13:07
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
/**
* Copyright (c) 2010 Conrad Irwin <conrad@rapportive.com> MIT license.
* Based loosely on original: Copyright (c) 2008 mkmanning MIT license.
*
* Parses CGI query strings into javascript objects.
*
* See the README for details.
**/
/*jshint jquery:true */
/*global window:true */
define([
"jquery"
], function($){

$.parseQuery = function(options) {
var config = {query: window.location.search || ""},
params = {};

if (typeof options === 'string') {
options = {query: options};
}
$.extend(config, $.parseQuery, options);
config.query = config.query.replace(/^\?/, '');

$.each(config.query.split(config.separator), function(i, param) {
var pair = param.split('='),
key = config.decode(pair.shift(), null).toString(),
value = config.decode(pair.length ? pair.join('=') : null, key);

if (config.array_keys(key)) {
params[key] = params[key] || [];
params[key].push(value);
} else {
params[key] = value;
}
});

return params;
};

$.parseQuery.decode = $.parseQuery.default_decode = function(string) {
return decodeURIComponent((string || "").replace('+', ' '));
};

$.parseQuery.array_keys = function() {
return false;
};

$.parseQuery.separator = "&";

});