mirror of
https://github.com/liriliri/eruda.git
synced 2026-02-02 09:49:00 +08:00
chore: update luna console and luna object viewer
This commit is contained in:
@@ -64,6 +64,7 @@ module.exports = {
|
||||
path.resolve(__dirname, '../node_modules/luna-modal'),
|
||||
path.resolve(__dirname, '../node_modules/luna-tab'),
|
||||
path.resolve(__dirname, '../node_modules/luna-data-grid'),
|
||||
path.resolve(__dirname, '../node_modules/luna-object-viewer'),
|
||||
],
|
||||
use: [
|
||||
{
|
||||
|
||||
@@ -68,12 +68,12 @@
|
||||
"karma-sourcemap-loader": "^0.3.7",
|
||||
"karma-webpack": "^5.0.0",
|
||||
"licia": "^1.37.0",
|
||||
"luna-console": "^1.1.3",
|
||||
"luna-console": "^1.2.0",
|
||||
"luna-data-grid": "^0.3.1",
|
||||
"luna-dom-viewer": "^1.0.2",
|
||||
"luna-modal": "^1.0.0",
|
||||
"luna-notification": "^0.1.4",
|
||||
"luna-object-viewer": "^0.2.2",
|
||||
"luna-object-viewer": "^0.2.4",
|
||||
"luna-tab": "^0.1.2",
|
||||
"node-sass": "^7.0.1",
|
||||
"postcss-clean": "^1.1.0",
|
||||
|
||||
@@ -94,6 +94,22 @@
|
||||
.luna-console-code {
|
||||
@include luna-console-highlight();
|
||||
}
|
||||
.luna-console-log-content {
|
||||
.luna-console-undefined,
|
||||
.luna-console-null {
|
||||
color: var(--operator-color);
|
||||
}
|
||||
.luna-console-number {
|
||||
color: var(--number-color);
|
||||
}
|
||||
.luna-console-boolean {
|
||||
color: var(--keyword-color);
|
||||
}
|
||||
.luna-console-symbol,
|
||||
.luna-console-regexp {
|
||||
color: var(--var-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.luna-console-preview {
|
||||
@@ -132,12 +148,6 @@
|
||||
border-top-color: transparent;
|
||||
border-left-color: var(--foreground);
|
||||
}
|
||||
.luna-object-viewer-icon-caret-right {
|
||||
top: 0;
|
||||
}
|
||||
.luna-object-viewer-icon-caret-down {
|
||||
top: 1px;
|
||||
}
|
||||
|
||||
.luna-notification {
|
||||
pointer-events: none !important;
|
||||
|
||||
@@ -126,6 +126,11 @@
|
||||
addClickEvent('log', function () {
|
||||
console.clear()
|
||||
console.log('log')
|
||||
console.log('number:', 5)
|
||||
console.log('boolean:', true, false)
|
||||
console.log('null:', null)
|
||||
console.log('undefined:', undefined)
|
||||
console.log('regexp:', /test/gi)
|
||||
for (var i = 0; i < 10; i++) {
|
||||
console.log('repeat log')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user