Skip to content

Commit

Permalink
fix: does not update when tag inactive
Browse files Browse the repository at this point in the history
  • Loading branch information
cenzhende committed Apr 19, 2017
1 parent 1a73970 commit 6ce9cb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "juejin-vue-meta",
"description": "manage page meta info in Vue 2.0 server-rendered apps",
"version": "0.5.9",
"version": "0.5.10",
"author": "Declan de Wet <[email protected]>",
"bugs": "https://github.com/declandewet/vue-meta/issues",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/client/batchUpdate.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// fallback to timers if rAF not present
const stopUpdate = (typeof window !== 'undefined' ? window.cancelAnimationFrame : null) || clearTimeout
const startUpdate = (typeof window !== 'undefined' ? window.requestAnimationFrame : null) || ((cb) => window.setTimeout(cb, 0))
const startUpdate = (cb) => window.setTimeout(cb, 0)

/**
* Performs a batched update. Uses requestAnimationFrame to prevent
Expand Down

0 comments on commit 6ce9cb5

Please sign in to comment.