Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
1cf9f02255d7
Commit
1cf9f022
authored
Feb 22, 2017
by
Mike Greiling
Browse files
remove require.context from graphs_bundle
parent
c0cc76fecca9
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/assets/javascripts/graphs/graphs_bundle.js
View file @
1cf9f022
// require everything else in this directory
function
requireAll
(
context
)
{
return
context
.
keys
().
map
(
context
);
}
requireAll
(
require
.
context
(
'
.
'
,
false
,
/^
\.\/(?!
graphs_bundle
)
.*
\.(
js|es6
)
$/
));
require
(
'
./stat_graph_contributors_graph
'
);
require
(
'
./stat_graph_contributors_util
'
);
require
(
'
./stat_graph_contributors
'
);
require
(
'
./stat_graph
'
);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment