mirror of
https://github.com/liriliri/eruda.git
synced 2026-02-02 09:49:00 +08:00
Dev: Small changes
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
"scripts": {
|
||||
"release": "webpack && webpack -p --config script/release.js",
|
||||
"dev": "webpack-dev-server",
|
||||
"cpTestLib": "bash script/cpTestLib.sh",
|
||||
"cpTestLib": "script/cpTestLib.sh",
|
||||
"utilDoc": "eustia doc src/lib/util.js -f md -o doc/Util_Api.md -t \"Eruda Util Documentation\""
|
||||
},
|
||||
"repository": {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
mkdir -p test/lib
|
||||
cp node_modules/jasmine-core/lib/jasmine-core/{jasmine.css,jasmine.js,jasmine-html.js,boot.js} test/lib/
|
||||
cp node_modules/jasmine-jquery/lib/jasmine-jquery.js test/lib/
|
||||
|
||||
@@ -112,7 +112,7 @@ function createEl(key, val, firstLevel)
|
||||
{
|
||||
return `<li>
|
||||
${wrapKey(key)}
|
||||
<span class="eruda-function">${encode(val).replace('function', '<span style="color:#a71d5d">function</span>')}</span>
|
||||
<span class="eruda-function">${encode(val).replace('function', '')}</span>
|
||||
</li>`;
|
||||
}
|
||||
if (val === '(...)' || val === 'undefined' || val === 'Symbol')
|
||||
|
||||
Reference in New Issue
Block a user