MCPcopy Index your code
hub / github.com/bigskysoftware/htmx / decode

Function decode

test/util/util.js:69–71  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

67function parseParams(str) {
68 var re = /([^&=]+)=?([^&]*)/g
69 var decode = function(str) {
70 return decodeURIComponent(str.replace(/\+/g, ' '))
71 }
72 var params = {}; var e
73 if (str) {
74 if (str.slice(0, 1) == '?') {

Callers 1

parseParamsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected