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:
authorPhil Hughes <me@iamphill.com>2017-08-09 14:57:45 +0300
committerPhil Hughes <me@iamphill.com>2017-08-09 15:19:33 +0300
commit02853ebc1e76c6efcec030a74a0ae76954e7d61d (patch)
tree8a649e6cf263e99d3f0ec11bf5954dc95689c8ba /app/assets/javascripts/member_expiration_date.js
parent97b2c7c6333e2ec889874a670996bd0d0866bf51 (diff)
Fix pikaday being undefined
Closes #36207
Diffstat (limited to 'app/assets/javascripts/member_expiration_date.js')
-rw-r--r--app/assets/javascripts/member_expiration_date.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/javascripts/member_expiration_date.js b/app/assets/javascripts/member_expiration_date.js
index e034729bd39..cc9016e74da 100644
--- a/app/assets/javascripts/member_expiration_date.js
+++ b/app/assets/javascripts/member_expiration_date.js
@@ -1,5 +1,7 @@
-/* global Pikaday */
/* global dateFormat */
+
+import Pikaday from 'pikaday';
+
(() => {
// Add datepickers to all `js-access-expiration-date` elements. If those elements are
// children of an element with the `clearable-input` class, and have a sibling