()
| 560 | // vue-server-renderer can set VUE_ENV |
| 561 | var _isServer; |
| 562 | var isServerRendering = function () { |
| 563 | if (_isServer === undefined) { |
| 564 | /* istanbul ignore if */ |
| 565 | if (!inBrowser && !inWeex && typeof global !== 'undefined') { |
| 566 | // detect presence of vue-server-renderer and avoid |
| 567 | // Webpack shimming the process |
| 568 | _isServer = global['process'] && global['process'].env.VUE_ENV === 'server'; |
| 569 | } else { |
| 570 | _isServer = false; |
| 571 | } |
| 572 | } |
| 573 | return _isServer |
| 574 | }; |
| 575 | |
| 576 | // detect devtools |
| 577 | var devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__; |
no outgoing calls
no test coverage detected