Skip to content

Commit 539afbe

Browse files
authored
Merge branch 'master' into filter-state
2 parents 6998866 + 472f3c6 commit 539afbe

File tree

7 files changed

+1281
-764
lines changed

7 files changed

+1281
-764
lines changed

.eslintrc

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"root": true,
3+
"env": {
4+
"browser": true
5+
},
36
"extends": [
47
"plugin:vue-libs/recommended"
58
],

docs/workaround-for-safari.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@
77
5. Open Develop -> Show Extension Builder
88
6. Click the plus button in the bottom left and select Add Extension...
99
7. Select shells/safari/Vue.js devtools.safariextension
10-
8. Click Install in the top right
10+
8. Select _All_ in Website Access -> Access Level
11+
9. Check _Include Secure Webpages_
12+
10. Click Install in the top right

package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -32,31 +32,31 @@
3232
},
3333
"homepage": "https://github.com/vuejs/vue-devtools#readme",
3434
"devDependencies": {
35-
"buble": "^0.15.1",
35+
"buble": "^0.16.0",
3636
"buble-loader": "^0.4.0",
3737
"chromedriver": "^2.25.1",
38-
"cross-env": "^3.1.3",
39-
"css-loader": "^0.26.1",
40-
"eslint": "^3.9.1",
38+
"cross-env": "^5.0.5",
39+
"css-loader": "^0.28.1",
40+
"eslint": "^3.19.0",
4141
"eslint-plugin-vue-libs": "^1.2.0",
42-
"file-loader": "^0.9.0",
42+
"file-loader": "^1.1.5",
4343
"friendly-errors-webpack-plugin": "^1.1.2",
4444
"nightwatch": "^0.9.4",
4545
"nightwatch-helpers": "^1.2.0",
4646
"selenium-server": "2.52.0",
4747
"stylus": "^0.54.5",
48-
"stylus-loader": "^2.1.1",
49-
"url-loader": "^0.5.6",
50-
"vue-loader": "^12.2.0",
48+
"stylus-loader": "^3.0.1",
49+
"url-loader": "^0.6.2",
50+
"vue-loader": "^13.3.0",
5151
"vue-template-compiler": "^2.0.0",
52-
"webpack": "^2.2.0",
53-
"webpack-dev-server": "^2.2.0"
52+
"webpack": "^3.7.0",
53+
"webpack-dev-server": "^2.9.1"
5454
},
5555
"dependencies": {
5656
"circular-json-es6": "^2.0.0",
5757
"lodash.debounce": "^4.0.6",
5858
"lodash.groupby": "^4.6.0",
5959
"vue": "^2.0.0",
60-
"vuex": "^2.0.0"
60+
"vuex": "^3.0.0"
6161
}
6262
}

src/backend/index.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,12 @@ function connect () {
9494

9595
bridge.log('backend ready.')
9696
bridge.send('ready', hook.Vue.version)
97-
console.log('[vue-devtools] Ready. Detected Vue v' + hook.Vue.version)
97+
console.log(
98+
`%c vue-devtools %c Detected Vue v${hook.Vue.version} %c`,
99+
'background:#35495e ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',
100+
'background:#41b883 ; padding: 1px; border-radius: 0 3px 3px 0; color: #fff',
101+
'background:transparent'
102+
)
98103
scan()
99104
}
100105

src/devtools/views/components/ComponentInstance.vue

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
}">
77
<div class="self"
88
@click.stop="select"
9+
@dblclick.stop="toggle"
910
@mouseenter="enter"
1011
@mouseleave="leave"
1112
:class="{ selected: selected }"

src/util.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -162,5 +162,4 @@ export function sortByKey (state) {
162162
if (a.key > b.key) return 1
163163
return 0
164164
})
165-
}
166-
165+
}

0 commit comments

Comments
 (0)