Skip to content

Commit b4e98d4

Browse files
committed
Merge pull request #66 from mmm2a/master
Minor code fixes to make the javascript compile correctly in Google Closure environments.
2 parents 352f9f2 + 918c44b commit b4e98d4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

google-client-loader.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@
121121

122122
/**
123123
* Returns the loaded API.
124-
* @type gapi.client
125124
*/
126125
get api() {
127126
if (window.gapi && window.gapi.client &&
@@ -204,7 +203,7 @@
204203
this._createSelfRemovingListener(this.errorEventName));
205204
// Did we get an error when we tried to load this API before?
206205
} else if (_statuses[this.name] == 'error') {
207-
this._fireError();
206+
this._fireError(null);
208207
// Otherwise, looks like we're loading a new API.
209208
} else {
210209
var root;

0 commit comments

Comments
 (0)