Skip to content

Commit

Permalink
Dev: Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
surunzi committed Oct 10, 2016
1 parent 48f4001 commit 4e056dd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 2 additions & 0 deletions script/cpTestLib.sh
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
2 changes: 1 addition & 1 deletion src/lib/JsonViewer.es6
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 4e056dd

Please sign in to comment.