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-07-25 18:27:51 +0300
committerPhil Hughes <me@iamphill.com>2017-07-25 18:27:51 +0300
commitfe27de8bf124d65013da1d82618a1ab45584ff68 (patch)
tree0826d84ae6697a957705ca677bf4db46306fc808 /app/assets/javascripts/init_legacy_filters.js
parent205090fcfb741884215723281dfb0afb56efbbfb (diff)
moved some code into new files
fixed duplication of code
Diffstat (limited to 'app/assets/javascripts/init_legacy_filters.js')
-rw-r--r--app/assets/javascripts/init_legacy_filters.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/assets/javascripts/init_legacy_filters.js b/app/assets/javascripts/init_legacy_filters.js
new file mode 100644
index 00000000000..aa25f295bbc
--- /dev/null
+++ b/app/assets/javascripts/init_legacy_filters.js
@@ -0,0 +1,14 @@
+/* eslint-disable no-new */
+/* global UsersSelect */
+/* global LabelsSelect */
+/* global MilestoneSelect */
+/* global IssueStatusSelect */
+/* global SubscriptionSelect */
+
+export default () => {
+ new UsersSelect();
+ new LabelsSelect();
+ new MilestoneSelect();
+ new IssueStatusSelect();
+ new SubscriptionSelect();
+};