src/util/Util.js
/**
 * Add info extracted from the URL to the given dictionary.
 *
 * <p>We exclude all URL parameters starting with a double underscore
 * since those are reserved for client/server communication</p>
 *
 * @name module:util.addInfoFromUrl
 * @function
 * @public
 * @param {Object} info - the dictionary
 */
Add info extracted from the URL to the given dictionary.
We exclude all URL parameters starting with a double underscore
since those are reserved for client/server communication

@name module:util.addInfoFromUrl
@function
@public
@param {Object} info - the dictionary
Add info extracted from the URL to the given dictionary . We exclude all URL parameters starting with a double underscore since those are reserved for client / server communication @name module : util . addInfoFromUrl @function @public @param { Object } info - the dictionary
function addInfoFromUrl(info)
{
	const infoFromUrl = getUrlParameters();
	infoFromUrl.forEach((value, key) =>
	{
		if (key.indexOf("__") !== 0)
		{
			info[key] = value;
		}
	});
	return info;
}
function addInfoFromUrl ( info ) { const infoFromUrl = getUrlParameters ( ) ; infoFromUrl . forEach ( ( value , key ) => { if ( key . indexOf ( "__" ) !== 0 ) { info [ key ] = value ; } } ) ; return info ; }
Add info extracted from the URL to the given dictionary.
Add info extracted from the URL to the given dictionary .
// note: parameters starting with a double underscore are reserved for client/server communication, // we do not add them to info // for (const [key, value] of infoFromUrl)