MCPcopy Create free account
hub / github.com/adobe/Marinus / qs

Function qs

web_server/public/javascripts/utilities.js:54–59  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

52};
53
54function qs(key) {
55 /* eslint-disable-next-line no-useless-escape */
56 key = key.replace(/[*+?^$.\[\]{}()|\\\/]/g, "\\$&"); // escape RegEx meta chars
57 var match = location.search.match(new RegExp("[?&]" + key + "=([^&]+)(&|$)"));
58 return match && decodeURIComponent(match[1].replace(/\+/g, " "));
59}
60
61
62/**

Callers 10

cert_graph.jsFile · 0.85
buildPageFunction · 0.85
fetch_certificateFunction · 0.85
build_pageFunction · 0.85
build_pageFunction · 0.85
buildPageFunction · 0.85
draw_graph.jsFile · 0.85
build_pageFunction · 0.85
start_pageFunction · 0.85
continueBuildPageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected