Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
55fc4e8f
Commit
55fc4e8f
authored
Jan 13, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix requireAll within filtered search bundle
parent
6ad01a49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
app/assets/javascripts/filtered_search/filtered_search_bundle.js
...ets/javascripts/filtered_search/filtered_search_bundle.js
+2
-8
No files found.
app/assets/javascripts/filtered_search/filtered_search_bundle.js
View file @
55fc4e8f
// This is a manifest file that'll be compiled into including all the files listed below.
function
requireAll
(
context
)
{
return
context
.
keys
().
map
(
context
);
}
// Add new JavaScript code in separate files in this directory and they'll automatically
// be included in the compiled file accessible from http://example.com/assets/application.js
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// the compiled file.
//
function
requireAll
(
context
)
{
return
context
.
keys
().
map
(
context
);
}
requireAll
(
require
.
context
(
'
./
'
,
true
,
/^
\.\/
.*
\.(
js|es6
)
$/
));
requireAll
(
require
.
context
(
'
./
'
,
true
,
/^
\.\/(?!
filtered_search_bundle
)
.*
\.(
js|es6
)
$/
));
Write
Preview
Markdown
is supported
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