diff options
author | Bryce Johnson <bryce@gitlab.com> | 2016-09-08 18:22:14 +0300 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2016-10-05 12:25:02 +0300 |
commit | b690c19dbf9a74e356b75e1da63f7dcf237a8c81 (patch) | |
tree | 8f8bd47f4749a3c9d314f6e7896065663c768081 /app/assets/javascripts/profile | |
parent | 4ae2a3026914a70eb34929a768570043a4e73022 (diff) |
Use parentheses in IFFE's as per AirBnb styleguide.
Diffstat (limited to 'app/assets/javascripts/profile')
-rw-r--r-- | app/assets/javascripts/profile/profile.js.es6 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/profile/profile.js.es6 b/app/assets/javascripts/profile/profile.js.es6 index c7498c68e7c..e62e0a89867 100644 --- a/app/assets/javascripts/profile/profile.js.es6 +++ b/app/assets/javascripts/profile/profile.js.es6 @@ -1,4 +1,5 @@ -(global => { +((global) => { + class Profile { constructor(opts = {}) { this.onSubmitForm = this.onSubmitForm.bind(this); |