Skip to content

Commit bfb6ca5

Browse files
committed
refactor: do not tweak vue global config
1 parent 9d0abf8 commit bfb6ca5

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/store.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -273,14 +273,6 @@ function resetStoreVM (store, state, hot) {
273273
})
274274
})
275275

276-
// TODO: Bring back this if it's still needed.
277-
//
278-
// use a Vue instance to store the state tree
279-
// suppress warnings just in case the user has added
280-
// some funky global mixins
281-
// const silent = Vue.config.silent
282-
// Vue.config.silent = true
283-
284276
// TODO: Refactor the code and remove this comment.
285277
//
286278
// New impl with reactive. Defining redundunt keys to make it as close as
@@ -291,10 +283,6 @@ function resetStoreVM (store, state, hot) {
291283
}
292284
})
293285

294-
// TODO: Bring back maybe?
295-
//
296-
// Vue.config.silent = silent
297-
298286
// enable strict mode for new vm
299287
if (store.strict) {
300288
enableStrictMode(store)

0 commit comments

Comments
 (0)