mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Minor change
This commit is contained in:
parent
4888ec6d35
commit
cdd46c5c7b
1 changed files with 3 additions and 3 deletions
|
|
@ -43,8 +43,8 @@ main {
|
|||
<body>
|
||||
<h2>uBO-flavored JSONPath tool</h2>
|
||||
<main>
|
||||
<textarea id="json-data" placeholder="JSON data"></textarea>
|
||||
<input id="jsonpath-input" placeholder="JSON path expression"/>
|
||||
<textarea id="json-data" placeholder="JSON data" spellcheck="false"></textarea>
|
||||
<input id="jsonpath-input" placeholder="JSON path expression" spellcheck="false" />
|
||||
<div id="jsonpath-result"> </div>
|
||||
</main>
|
||||
|
||||
|
|
@ -65,7 +65,7 @@ main {
|
|||
}
|
||||
const out = [];
|
||||
for ( const i of a ) {
|
||||
out.push(`[ ${i.map(j => JSON.stringify(j)).join(' ,')} ]`);
|
||||
out.push(`[ ${i.map(j => JSON.stringify(j)).join(', ')} ]`);
|
||||
}
|
||||
return out.join('\n');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue