Skip to content

Commit

Permalink
Build dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasBombach committed Aug 17, 2018
1 parent 31fa15a commit 66b8cc9
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 15 deletions.
16 changes: 9 additions & 7 deletions dist/vue-apollo.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -1975,14 +1975,16 @@ function install(Vue, options) {
};

// Lazy creation
Object.defineProperty(Vue.prototype, '$apollo', {
get: function get$$1() {
if (!this._apollo) {
this._apollo = new DollarApollo(this);
if (!Vue.prototype.hasOwnProperty('$apollo')) {
Object.defineProperty(Vue.prototype, '$apollo', {
get: function get$$1() {
if (!this._apollo) {
this._apollo = new DollarApollo(this);
}
return this._apollo;
}
return this._apollo;
}
});
});
}

var vueVersion = Vue.version.substr(0, Vue.version.indexOf('.'));

Expand Down
Loading

0 comments on commit 66b8cc9

Please sign in to comment.