Jelajahi Sumber

refactor: do not tweak vue global config

Kia Ishii 5 tahun lalu
induk
melakukan
bfb6ca55c4
1 mengubah file dengan 0 tambahan dan 12 penghapusan
  1. 0 12
      src/store.js

+ 0 - 12
src/store.js

@@ -273,14 +273,6 @@ function resetStoreVM (store, state, hot) {
     })
   })
 
-  // TODO: Bring back this if it's still needed.
-  //
-  // use a Vue instance to store the state tree
-  // suppress warnings just in case the user has added
-  // some funky global mixins
-  // const silent = Vue.config.silent
-  // Vue.config.silent = true
-
   // TODO: Refactor the code and remove this comment.
   //
   // New impl with reactive. Defining redundunt keys to make it as close as
@@ -291,10 +283,6 @@ function resetStoreVM (store, state, hot) {
     }
   })
 
-  // TODO: Bring back maybe?
-  //
-  // Vue.config.silent = silent
-
   // enable strict mode for new vm
   if (store.strict) {
     enableStrictMode(store)