Skip to content

Commit 0bc6cd9

Browse files
committed
Merge pull request #50 from Scarygami/patch-1
Change root to apiRoot
2 parents d4410d0 + 2139e72 commit 0bc6cd9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

google-client-loader.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
* 'http://localhost:8080/_ah/api'.
9898
* Overrides 'appId' if both are specified.
9999
*/
100-
root: String,
100+
apiRoot: String,
101101

102102
/**
103103
* Name of the event fired when API library is loaded.
@@ -209,8 +209,8 @@
209209
// Otherwise, looks like we're loading a new API.
210210
} else {
211211
var root;
212-
if (this.root) {
213-
root = this.root
212+
if (this.apiRoot) {
213+
root = this.apiRoot;
214214
} else if (this.appId) {
215215
root = 'https://' + this.appId + '.appspot.com/_ah/api';
216216
}

0 commit comments

Comments
 (0)