@@ -17,7 +17,7 @@ export class Store {
17
17
if ( process . env . NODE_ENV !== 'production' ) {
18
18
assert ( Vue , `must call Vue.use(Vuex) before creating a store instance.` )
19
19
assert ( typeof Promise !== 'undefined' , `vuex requires a Promise polyfill in this browser.` )
20
- assert ( this instanceof Store , `Store must be called with the new operator.` )
20
+ assert ( this instanceof Store , `store must be called with the new operator.` )
21
21
}
22
22
23
23
const {
@@ -74,7 +74,7 @@ export class Store {
74
74
75
75
set state ( v ) {
76
76
if ( process . env . NODE_ENV !== 'production' ) {
77
- assert ( false , `Use store.replaceState() to explicit replace store state.` )
77
+ assert ( false , `use store.replaceState() to explicit replace store state.` )
78
78
}
79
79
}
80
80
@@ -441,7 +441,7 @@ function registerGetter (store, type, rawGetter, local) {
441
441
function enableStrictMode ( store ) {
442
442
store . _vm . $watch ( function ( ) { return this . _data . $$state } , ( ) => {
443
443
if ( process . env . NODE_ENV !== 'production' ) {
444
- assert ( store . _committing , `Do not mutate vuex store state outside mutation handlers.` )
444
+ assert ( store . _committing , `do not mutate vuex store state outside mutation handlers.` )
445
445
}
446
446
} , { deep : true , sync : true } )
447
447
}
@@ -460,7 +460,7 @@ function unifyObjectStyle (type, payload, options) {
460
460
}
461
461
462
462
if ( process . env . NODE_ENV !== 'production' ) {
463
- assert ( typeof type === 'string' , `Expects string as the type, but found ${ typeof type } .` )
463
+ assert ( typeof type === 'string' , `expects string as the type, but found ${ typeof type } .` )
464
464
}
465
465
466
466
return { type, payload, options }
0 commit comments