8000 Merge pull request #64 from kazupon/fix/api/global · poorprogrammer/vuejs.org@e8d2599 · GitHub
[go: up one dir, main page]

Skip to content

Commit e8d2599

Browse files
committed
Merge pull request vuejs#64 from kazupon/fix/api/global
Fix: Vue.nextTick description
2 parents c1c28d1 + a1e8fc5 commit e8d2599

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/api/global-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Will result in:
153153

154154
- **callback** `Function`
155155

156-
Vue.js batches view updates and executes them all asynchronously. It uses `requestAnimationFrame` if available and falls back to `setTimeout(fn, 0)`. This method calls the callback after the next view update, which can be useful when you want to wait until the view has been updated.
156+
Vue.js batches view updates and executes them all asynchronously. It uses `MutationObserver` if available and falls back to `setTimeout(fn, 0)`. This method calls the callback after the next view update, which can be useful when you want to wait until the view has been updated.
157157

158158
### Vue.use( plugin, [args...] )
159159

@@ -164,4 +164,4 @@ Mount a Vue.js plugin. If the plugin is an Object, it must have an `install` met
164164

165165
### Vue.util
166166

167-
Exposes the internal `util` module, which contains a number of utility methods. This is intended for advanced plugin/directive authoring, so you will need to look at the source code to see what's available.
167+
Exposes the internal `util` module, which contains a number of utility methods. This is intended for advanced plugin/directive authoring, so you will need to look at the source code to see what's available.

0 commit comments

Comments
 (0)
0