| Index: appengine/config_service/ui/common/third_party/google-signin/google-signin-aware.html
|
| diff --git a/appengine/config_service/ui/common/third_party/google-signin/google-signin-aware.html b/appengine/config_service/ui/common/third_party/google-signin/google-signin-aware.html
|
| index 4368b2951ff1de04b15fd5ca85c604ff5b85e284..03f21163c6fc1ec5b8d489d1df08888ad387e616 100644
|
| --- a/appengine/config_service/ui/common/third_party/google-signin/google-signin-aware.html
|
| +++ b/appengine/config_service/ui/common/third_party/google-signin/google-signin-aware.html
|
| @@ -230,14 +230,13 @@ limitations under the License.
|
| signinAwares: [],
|
|
|
| init: function() {
|
| - var that = this;
|
| document.addEventListener('DOMContentLoaded', function() {
|
| - that._apiLoader = document.createElement('google-js-api');
|
| - that._apiLoader.addEventListener('js-api-load', that.loadAuth2.bind(that));
|
| + this._apiLoader = document.createElement('google-js-api');
|
| + this._apiLoader.addEventListener('js-api-load', this.loadAuth2.bind(this));
|
| if (Polymer.Element) {
|
| - document.body.appendChild(that._apiLoader);
|
| + document.body.appendChild(this._apiLoader);
|
| }
|
| - })
|
| + }.bind(this));
|
| },
|
|
|
| loadAuth2: function() {
|
|
|