Skip to content

Commit

Permalink
ignore ssr getter
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed May 9, 2017
1 parent 0ccefff commit 3139605
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/index.js
Expand Up @@ -10,6 +10,7 @@ Object.defineProperty(Vue.prototype, '$isServer', {

Object.defineProperty(Vue.prototype, '$ssrContext', {
get () {
/* istanbul ignore next */
return this.$vnode.ssrContext
}
})
Expand Down

0 comments on commit 3139605

Please sign in to comment.