Skip to content

Commit a06e547

Browse files
committed
remove bad usage of 'deprecated' in vuex migration guide
1 parent c61abae commit a06e547

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/guide/migration-vuex.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ __Vuex 2.0__ is a radical redesign and simplification of the API, for those who
1717

1818
__Vuex 1.0__ is mostly backwards-compatible, so requires very few changes to upgrade. It is recommended for those with large existing codebases or who just want the smoothest possible upgrade path to Vue 2.0. This guide is dedicated to facilitating that process, but only includes migration notes. For the complete usage guide, see [the Vuex 1.0 docs](https://github.com/vuejs/vuex/tree/1.0/docs/en).
1919

20-
## `store.watch` with String Property Path <sup>deprecated</sup>
20+
## `store.watch` with String Property Path <sup>replaced</sup>
2121

2222
`store.watch` now only accept functions. So for example, you would have to replace:
2323

@@ -47,9 +47,9 @@ This gives you more complete control over the reactive properties you'd like to
4747
</div>
4848
{% endraw %}
4949

50-
## Store's Event Emitter <sup>deprecated</sup>
50+
## Store's Event Emitter <sup>removed</sup>
5151

52-
The store instance no longer exposes the event emitter interface (`on`, `off`, `emit`). If you were previously using the store as a global event bus, [see this section](http://vuejs.org/guide/migration.html#dispatch-and-broadcast-deprecated) for migration instructions.
52+
The store instance no longer exposes the event emitter interface (`on`, `off`, `emit`). If you were previously using the store as a global event bus, [see this section](http://vuejs.org/guide/migration.html#dispatch-and-broadcast-removed) for migration instructions.
5353

5454
Instead of using this interface to watch events emitted by the store itself (e.g. `store.on('mutation', callback)`), a new method `store.subscribe` is introduced. Typical usage inside a plugin would be:
5555

@@ -71,7 +71,7 @@ See example [the plugins docs](https://github.com/vuejs/vuex/blob/1.0/docs/en/pl
7171
</div>
7272
{% endraw %}
7373

74-
## Middlewares <sup>deprecated</sup>
74+
## Middlewares <sup>replaced</sup>
7575

7676
Middlewares are replaced by plugins. A plugin is simply a function that receives the store as the only argument, and can listen to the mutation event on the store:
7777

0 commit comments

Comments
 (0)