diff options
author | Kushal Pandya <kushal@gitlab.com> | 2017-04-06 11:47:41 +0300 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2017-04-06 11:47:41 +0300 |
commit | 92b75704c2b6e827d333b85ab3d1d99aed84cb6f (patch) | |
tree | d202bfa6ece907b2c9a62ee939f0906d128ab9e9 | |
parent | 115d4a41061a94c294fa7cbd218a983ef06e0965 (diff) |
Re-export classes using ES6 `export`
-rw-r--r-- | app/assets/javascripts/protected_tags/index.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/assets/javascripts/protected_tags/index.js b/app/assets/javascripts/protected_tags/index.js index 889a8053e6f..da036f5437e 100644 --- a/app/assets/javascripts/protected_tags/index.js +++ b/app/assets/javascripts/protected_tags/index.js @@ -1,5 +1,5 @@ -require('./protected_tag_access_dropdown'); -require('./protected_tag_create'); -require('./protected_tag_dropdown'); -require('./protected_tag_edit'); -require('./protected_tag_edit_list'); +export { default as ProtectedTagAccessDropdown } from './protected_tag_access_dropdown'; +export { default as ProtectedTagCreate } from './protected_tag_create'; +export { default as ProtectedTagDropdown } from './protected_tag_dropdown'; +export { default as ProtectedTagEdit } from './protected_tag_edit'; +export { default as ProtectedTagEditList } from './protected_tag_edit_list'; |