Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2016-09-09 18:49:48 +0300
committerBryce Johnson <bryce@gitlab.com>2016-10-05 12:25:02 +0300
commit7beb9f3483cf59a9717c2ccc6bd102cd9a97f906 (patch)
treed4decfe0356721dcc1cd46088fdbe3e399f9306d /app/assets/javascripts/profile
parent5bc3b7be601a234dfbf16a32b2e58b95d3aa677b (diff)
Pass default opts.
Diffstat (limited to 'app/assets/javascripts/profile')
-rw-r--r--app/assets/javascripts/profile/profile.js.es62
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/profile/profile.js.es6 b/app/assets/javascripts/profile/profile.js.es6
index 5b1a5920c95..5f674c36de5 100644
--- a/app/assets/javascripts/profile/profile.js.es6
+++ b/app/assets/javascripts/profile/profile.js.es6
@@ -1,7 +1,7 @@
((global) => {
class Profile {
- constructor({ form = $('.edit-user') }) {
+ constructor({ form = $('.edit-user') } = {}) {
this.onSubmitForm = this.onSubmitForm.bind(this);
this.form = form;
this.bindEvents();