mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-24 22:21:14 +03:00
fix: dont assign to global console
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ import { hasGlobalWindow } from '../utils/window'
|
|||||||
|
|
||||||
const _global = hasGlobalWindow ? window : global
|
const _global = hasGlobalWindow ? window : global
|
||||||
|
|
||||||
const console = (_global.console = _global.console || {})
|
const console = _global.console || {}
|
||||||
|
|
||||||
export function warn (str) {
|
export function warn (str) {
|
||||||
/* istanbul ignore next */
|
/* istanbul ignore next */
|
||||||
|
|||||||
Reference in New Issue
Block a user