Skip to content

Commit

Permalink
fix(runtime): DevTools recommendation shows for all browsers
Browse files Browse the repository at this point in the history
Closes vuejs#8634
  • Loading branch information
AlexMaguey committed Aug 11, 2018
1 parent 1e77d35 commit 5a76565
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/platforms/web/runtime/index.js
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 5a76565

Please sign in to comment.