MCPcopy Index your code
hub / github.com/apache/echarts / parseParams

Function parseParams

test/runTest/client/client.js:36–47  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

34}
35
36function parseParams(str) {
37 if (!str) {
38 return {};
39 }
40 const parts = str.split('&');
41 const params = {};
42 parts.forEach((part) => {
43 const kv = part.split('=');
44 params[kv[0]] = decodeURIComponent(kv[1]);
45 });
46 return params;
47}
48
49function assembleParams(paramsObj) {
50 const paramsArr = [];

Callers 1

client.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…