diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-11-03 16:38:54 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-01-10 12:30:38 -0600 |
commit | fe964cc235ed22a5d013d5874284763b698aba7c (patch) | |
tree | 5529dd7d9deb13d511d37f7a8fed33de15aa6d7c /app/assets/javascripts/users | |
parent | 55f291e8ceae6d3d432039f72f6935c62fb2a872 (diff) | |
download | gitlab-ce-fe964cc235ed22a5d013d5874284763b698aba7c.tar.gz |
migrate all javascript asset bundles and require syntax
Diffstat (limited to 'app/assets/javascripts/users')
-rw-r--r-- | app/assets/javascripts/users/users_bundle.js | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/app/assets/javascripts/users/users_bundle.js b/app/assets/javascripts/users/users_bundle.js index f50802bdf2e..4cad60a59b1 100644 --- a/app/assets/javascripts/users/users_bundle.js +++ b/app/assets/javascripts/users/users_bundle.js @@ -1,7 +1,3 @@ -/* eslint-disable func-names, space-before-function-paren */ - -/*= require_tree . */ - -(function() { - -}).call(this); +// require everything else in this directory +function requireAll(context) { return context.keys().map(context); } +requireAll(require.context('.', false, /^\.\/(?!users_bundle).*\.(js|es6)$/)); |