Guillaume Chau
2017-08-11 06:47:07 +02:00
parent 4afbd71532
commit 3633e3fc45
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -3313,7 +3313,7 @@ var ApolloProvider$1 = function () {
attachTo: 'window'
}, options);
var states = this.getStates({
exportNamespace: options.exportNamespace
exportNamespace: finalOptions.exportNamespace
});
var js = finalOptions.attachTo + '.' + finalOptions.globalName + ' = ' + JSON.stringify(states) + ';';
return js;
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -3319,7 +3319,7 @@ var ApolloProvider$1 = function () {
attachTo: 'window'
}, options);
var states = this.getStates({
exportNamespace: options.exportNamespace
exportNamespace: finalOptions.exportNamespace
});
var js = finalOptions.attachTo + '.' + finalOptions.globalName + ' = ' + JSON.stringify(states) + ';';
return js;
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "vue-apollo",
"version": "2.1.0-beta.20",
"version": "2.1.0-beta.21",
"description": "Vue apollo integration",
"main": "dist/vue-apollo.umd.js",
"module": "dist/vue-apollo.esm.js",
+1 -1
View File
@@ -147,7 +147,7 @@ export class ApolloProvider {
attachTo: 'window',
}, options)
const states = this.getStates({
exportNamespace: options.exportNamespace,
exportNamespace: finalOptions.exportNamespace,
})
const js = `${finalOptions.attachTo}.${finalOptions.globalName} = ${JSON.stringify(states)};`
return js