From 25818010b6df75409caad46f20b1c40370357e4e Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Thu, 23 Feb 2017 17:40:36 -0600 Subject: remove require.context from profile_bundle --- app/assets/javascripts/profile/profile_bundle.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'app/assets/javascripts/profile/profile_bundle.js') diff --git a/app/assets/javascripts/profile/profile_bundle.js b/app/assets/javascripts/profile/profile_bundle.js index d7f3c9fd37e..15d32825583 100644 --- a/app/assets/javascripts/profile/profile_bundle.js +++ b/app/assets/javascripts/profile/profile_bundle.js @@ -1,3 +1,2 @@ -// require everything else in this directory -function requireAll(context) { return context.keys().map(context); } -requireAll(require.context('.', false, /^\.\/(?!profile_bundle).*\.(js|es6)$/)); +require('./gl_crop'); +require('./profile'); -- cgit v1.2.3