Skip to content

Commit 3efb610

Browse files
committed
LF changes
1 parent 7df40c8 commit 3efb610

21 files changed

+323
-8180
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
jsdiff
22
---
3-
This is goolge-chrome devtools extension
4-
intended to display result of in-memory object comparisons with the help of dedicated commands invoked via console.
5-
3+
Chrome devtools extension
4+
intended to display result of in-memory object comparisons with
5+
the help of dedicated commands invoked via console.
66

77
Example
88
===
@@ -12,7 +12,6 @@ console.diffRight(right);
1212
```
1313
![screenshot](./doc/screenshot.png)
1414
15-
1615
Based on
1716
===
1817
[jsondiffpatch](https://github.com/benjamine/jsondiffpatch) by benjamine

doc/screenshot.png

54.3 KB
Loading

src/css/style.css

Lines changed: 57 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/style.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/style.scss

Lines changed: 85 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,88 @@
1+
$headerHeight: 26px;
2+
13
body {
2-
margin: 18px 0 0 4px;
4+
margin: 0;
35
background-color: #fff;
46
}
7+
8+
.btn {
9+
height: $headerHeight;
10+
cursor: pointer;
11+
border: none;
12+
border-radius: 0;
13+
outline: none;
14+
background-color: rgba(0,0,0, 0.03);
15+
&:hover {
16+
background-color: rgba(0,0,0, 0.3);
17+
}
18+
}
19+
20+
.-center {
21+
margin: 0 auto;
22+
text-align: center;
23+
}
24+
25+
section#app {
26+
section.-header {
27+
border-bottom: 1px solid #bbb;
28+
box-shadow: 1px 2px 5px #bbb;
29+
display: flex;
30+
align-items: center;
31+
height: $headerHeight;
32+
33+
.-title {
34+
margin-left: 10px;
35+
font-size: 22px;
36+
font-weight: 700;
37+
background: -webkit-linear-gradient(green, red);
38+
-webkit-background-clip: text;
39+
-webkit-text-fill-color: transparent;
40+
}
41+
.-toolbox {
42+
margin-left: 10px;
43+
.btn {
44+
margin-right: 2px;
45+
}
46+
}
47+
.-last-updated {
48+
margin-left: 10px;
49+
color: #bbbbbb;
50+
51+
.-value {
52+
font-weight: bold;
53+
}
54+
}
55+
}
56+
57+
section.-match {
58+
display: flex;
59+
align-items: center;
60+
height: 100%;
61+
62+
.-center {
63+
font-size: 26px;
64+
color: #bbb;
65+
}
66+
}
67+
68+
section.-empty {
69+
display: flex;
70+
align-items: center;
71+
height: 100%;
72+
73+
.-links {
74+
margin-top: 16px;
75+
font-size: 11px;
76+
}
77+
78+
.-center {
79+
font-size: 26px;
80+
color: #bbb;
81+
}
82+
}
83+
84+
section.-delta {
85+
padding-top: 10px;
86+
}
87+
88+
}

src/js/api/api.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
define([
2+
'/src/js/api/vue.runtime.min.js',
3+
'/src/js/api/jsondiffpatch-full.min.js',
4+
'/src/js/api/jsondiffpatch-formatters.min.js',
5+
'/src/js/api/moment.min.js'
6+
], function (
7+
Vue, jsondiffpatch, formatter, moment
8+
) {
9+
return {
10+
Vue,
11+
jsondiffpatch,
12+
formatter,
13+
moment
14+
};
15+
});
File renamed without changes.

src/js/api/moment.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

0 commit comments

Comments
 (0)