Skip to content

Commit ac9e1b1

Browse files
author
Elliott Marquez
committed
events are composed
1 parent 23751f3 commit ac9e1b1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

google-client-loader.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,19 +162,22 @@
162162

163163
_fireSuccess: function() {
164164
this.fire(this.successEventName,
165-
{ 'name': this.name, 'version': this.version });
165+
{ 'name': this.name, 'version': this.version },
166+
{ composed: true });
166167
},
167168

168169
_fireError: function(response) {
169170
if (response && response.error) {
170171
this.fire(this.errorEventName, {
171172
'name': this.name,
172173
'version': this.version,
173-
'error': response.error });
174+
'error': response.error },
175+
{ composed: true });
174176
} else {
175177
this.fire(this.errorEventName, {
176178
'name': this.name,
177-
'version': this.version });
179+
'version': this.version },
180+
{ composed: true });
178181
}
179182
},
180183

0 commit comments

Comments
 (0)