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
5d9a6599
Commit
5d9a6599
authored
Jan 10, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor dispatcher search path
parent
394d5294
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+3
-2
app/assets/javascripts/pages/search/show/index.js
app/assets/javascripts/pages/search/show/index.js
+3
-0
app/assets/javascripts/pages/search/show/search.js
app/assets/javascripts/pages/search/show/search.js
+2
-2
No files found.
app/assets/javascripts/dispatcher.js
View file @
5d9a6599
...
@@ -14,7 +14,6 @@ import GroupLabelSubscription from './group_label_subscription';
...
@@ -14,7 +14,6 @@ import GroupLabelSubscription from './group_label_subscription';
import
LineHighlighter
from
'
./line_highlighter
'
;
import
LineHighlighter
from
'
./line_highlighter
'
;
import
BuildArtifacts
from
'
./build_artifacts
'
;
import
BuildArtifacts
from
'
./build_artifacts
'
;
import
groupsSelect
from
'
./groups_select
'
;
import
groupsSelect
from
'
./groups_select
'
;
import
Search
from
'
./search
'
;
import
initAdmin
from
'
./admin
'
;
import
initAdmin
from
'
./admin
'
;
import
NamespaceSelect
from
'
./namespace_select
'
;
import
NamespaceSelect
from
'
./namespace_select
'
;
import
NewCommitForm
from
'
./new_commit_form
'
;
import
NewCommitForm
from
'
./new_commit_form
'
;
...
@@ -580,7 +579,9 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line
...
@@ -580,7 +579,9 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line
VersionCheckImage
.
bindErrorEvent
(
$
(
'
img.js-version-status-badge
'
));
VersionCheckImage
.
bindErrorEvent
(
$
(
'
img.js-version-status-badge
'
));
break
;
break
;
case
'
search:show
'
:
case
'
search:show
'
:
new
Search
();
import
(
'
./pages/search/show
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
new
UserCallout
();
new
UserCallout
();
break
;
break
;
case
'
projects:mirrors:show
'
:
case
'
projects:mirrors:show
'
:
...
...
app/assets/javascripts/pages/search/show/index.js
0 → 100644
View file @
5d9a6599
import
Search
from
'
./search
'
;
export
default
()
=>
new
Search
();
app/assets/javascripts/search.js
→
app/assets/javascripts/
pages/search/show/
search.js
View file @
5d9a6599
import
Flash
from
'
.
/flash
'
;
import
Flash
from
'
~
/flash
'
;
import
Api
from
'
.
/api
'
;
import
Api
from
'
~
/api
'
;
export
default
class
Search
{
export
default
class
Search
{
constructor
()
{
constructor
()
{
...
...
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