diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-02-24 02:53:01 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-02-24 02:53:01 +0300 |
commit | a930fc5b4068ddcd190a45a85da4c8d79db35fe3 (patch) | |
tree | dfc2014a5025adf72db788dd245e4c1411e7184b | |
parent | c5b29ed6f36779dbb96f4cdc7b1b0bce8bb8dc5e (diff) |
remove require.context from snippet_bundle
-rw-r--r-- | app/assets/javascripts/snippet/snippet_bundle.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/assets/javascripts/snippet/snippet_bundle.js b/app/assets/javascripts/snippet/snippet_bundle.js index 89822246bb8..a98403f4cf2 100644 --- a/app/assets/javascripts/snippet/snippet_bundle.js +++ b/app/assets/javascripts/snippet/snippet_bundle.js @@ -1,10 +1,6 @@ /* eslint-disable func-names, space-before-function-paren, prefer-arrow-callback, no-var, quotes, max-len */ /* global ace */ -// require everything else in this directory -function requireAll(context) { return context.keys().map(context); } -requireAll(require.context('.', false, /^\.\/(?!snippet_bundle).*\.(js|es6)$/)); - (function() { $(function() { var editor = ace.edit("editor"); |