Procházet zdrojové kódy

refactor: remove unused comments

Kia Ishii před 5 roky
rodič
revize
89f058616f
1 změnil soubory, kde provedl 0 přidání a 6 odebrání
  1. 0 6
      src/store.js

+ 0 - 6
src/store.js

@@ -273,10 +273,6 @@ function resetStoreState (store, state, hot) {
     })
     })
   })
   })
 
 
-  // TODO: Refactor the code and remove this comment.
-  //
-  // New impl with reactive. Defining redundunt keys to make it as close as
-  // the old impl api.
   store._state = reactive({
   store._state = reactive({
     data: state
     data: state
   })
   })
@@ -294,8 +290,6 @@ function resetStoreState (store, state, hot) {
         oldState.data = null
         oldState.data = null
       })
       })
     }
     }
-    // TODO: I think we don't need this anymore since we're not using vm?
-    // Vue.nextTick(() => oldVm.$destroy())
   }
   }
 }
 }