Skip to content

Commit 4afbd71

Browse files
author
Guillaume Chau
committed
Version bump
1 parent 5376854 commit 4afbd71

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

dist/vue-apollo.esm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2507,7 +2507,7 @@ var SmartApollo = function () {
25072507

25082508
this.vm = vm;
25092509
this.key = key;
2510-
this.options = options;
2510+
this.options = Object.assign({}, options);
25112511
this._skip = false;
25122512
this._watchers = [];
25132513

@@ -2574,7 +2574,7 @@ var SmartApollo = function () {
25742574
cb = this.options.throttle ? throttle(cb, this.options.throttle) : cb;
25752575
cb = this.options.debounce ? debounce(cb, this.options.debounce) : cb;
25762576
this.unwatchVariables = this.vm.$watch(function () {
2577-
return _this2.options.variables.bind(_this2.vm)();
2577+
return _this2.options.variables.call(_this2.vm);
25782578
}, cb, {
25792579
immediate: true
25802580
});

0 commit comments

Comments
 (0)