From 22ad26615104c15fd09bc69692e3042bb1bb58e9 Mon Sep 17 00:00:00 2001 From: Alejandro Maguey Date: Thu, 20 Dec 2018 16:05:05 -0600 Subject: [PATCH] fix(runtime): DevTools recommendation shows for all browsers (#8638) Close #8634 --- src/platforms/web/runtime/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/platforms/web/runtime/index.js b/src/platforms/web/runtime/index.js index 1283f521aaa..fe29b22aeb1 100644 --- a/src/platforms/web/runtime/index.js +++ b/src/platforms/web/runtime/index.js @@ -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, @@ -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' +