Skip to content

Commit

Permalink
fix(runtime): DevTools recommendation shows for all browsers (#8638)
Browse files Browse the repository at this point in the history
Close #8634
  • Loading branch information
Alejandro Maguey authored and yyx990803 committed Dec 20, 2018
1 parent 4494012 commit 22ad266
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/platforms/web/runtime/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Vue from 'core/index'
import config from 'core/config'
import { extend, noop } from 'shared/util'
import { mountComponent } from 'core/instance/lifecycle'
import { devtools, inBrowser, isChrome } from 'core/util/index'
import { devtools, inBrowser } from 'core/util/index'

import {
query,
Expand Down Expand Up @@ -51,8 +51,7 @@ if (inBrowser) {
devtools.emit('init', Vue)
} else if (
process.env.NODE_ENV !== 'production' &&
process.env.NODE_ENV !== 'test' &&
isChrome
process.env.NODE_ENV !== 'test'
) {
console[console.info ? 'info' : 'log'](
'Download the Vue Devtools extension for a better development experience:\n' +
Expand Down

0 comments on commit 22ad266

Please sign in to comment.