File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,7 @@ export function createStore (options) {
10
10
11
11
export class Store {
12
12
constructor ( options = { } ) {
13
- // TODO: Bring back this one if needed.
14
- //
15
- // Auto install if it is not done yet and `window` has `Vue`.
16
- // To allow users to avoid auto-installation in some cases,
17
- // this code should be placed here. See #731
18
- // if (!Vue && typeof window !== 'undefined' && window.Vue) {
19
- // install(window.Vue)
20
- // }
21
-
22
13
if ( process . env . NODE_ENV !== 'production' ) {
23
- // TODO: Maybe we can remove this depending on the new implementation.
24
- // assert(Vue, `must call Vue.use(Vuex) before creating a store instance.`)
25
14
assert ( typeof Promise !== 'undefined' , `vuex requires a Promise polyfill in this browser.` )
26
15
assert ( this instanceof Store , `store must be called with the new operator.` )
27
16
}
You can’t perform that action at this time.
0 commit comments