Sha256: 87b27d6b5935e49690a749d96bdf91ccb77105ca4a598fc21e0b5d233f655a94
Contents?: true
Size: 850 Bytes
Versions: 3
Compression:
Stored size: 850 Bytes
Contents
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2018 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define([],function(){"use strict";var U=function(u){this.mParams={};var q=u;if(q){if(q.indexOf('#')>=0){q=q.slice(0,q.indexOf('#'));}if(q.indexOf("?")>=0){q=q.slice(q.indexOf("?")+1);var p=q.split("&"),P={},n,v,a;for(var i=0;i<p.length;i++){n=p[i];v="";a=n.indexOf("=");if(a>=0){v=decodeURIComponent(n.slice(a+1).replace(/\+/g,' '));n=n.slice(0,a);}n=decodeURIComponent(n.replace(/\+/g,' '));if(n){if(!Object.prototype.hasOwnProperty.call(P,n)){P[n]=[];}P[n].push(v);}}this.mParams=P;}}};U.prototype={};U.prototype.get=function(n,a){var v=Object.prototype.hasOwnProperty.call(this.mParams,n)?this.mParams[n]:[];return a===true?v:(v[0]||null);};return U;});
Version data entries
3 entries across 3 versions & 1 rubygems