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
0fce2df7
Commit
0fce2df7
authored
7 years ago
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update filtered_search to ES module syntax
parent
c594ed49
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
17 deletions
+14
-17
app/assets/javascripts/filtered_search/dropdown_hint.js
app/assets/javascripts/filtered_search/dropdown_hint.js
+1
-2
app/assets/javascripts/filtered_search/dropdown_non_user.js
app/assets/javascripts/filtered_search/dropdown_non_user.js
+1
-2
app/assets/javascripts/filtered_search/dropdown_user.js
app/assets/javascripts/filtered_search/dropdown_user.js
+1
-2
app/assets/javascripts/filtered_search/filtered_search_bundle.js
...ets/javascripts/filtered_search/filtered_search_bundle.js
+10
-10
app/assets/javascripts/filtered_search/filtered_search_tokenizer.js
.../javascripts/filtered_search/filtered_search_tokenizer.js
+1
-1
No files found.
app/assets/javascripts/filtered_search/dropdown_hint.js
View file @
0fce2df7
import
Filter
from
'
~/droplab/plugins/filter
'
;
import
Filter
from
'
~/droplab/plugins/filter
'
;
import
'
./filtered_search_dropdown
'
;
require
(
'
./filtered_search_dropdown
'
);
class
DropdownHint
extends
gl
.
FilteredSearchDropdown
{
class
DropdownHint
extends
gl
.
FilteredSearchDropdown
{
constructor
(
droplab
,
dropdown
,
input
,
filter
)
{
constructor
(
droplab
,
dropdown
,
input
,
filter
)
{
...
...
This diff is collapsed.
Click to expand it.
app/assets/javascripts/filtered_search/dropdown_non_user.js
View file @
0fce2df7
...
@@ -2,8 +2,7 @@
...
@@ -2,8 +2,7 @@
import
Ajax
from
'
~/droplab/plugins/ajax
'
;
import
Ajax
from
'
~/droplab/plugins/ajax
'
;
import
Filter
from
'
~/droplab/plugins/filter
'
;
import
Filter
from
'
~/droplab/plugins/filter
'
;
import
'
./filtered_search_dropdown
'
;
require
(
'
./filtered_search_dropdown
'
);
class
DropdownNonUser
extends
gl
.
FilteredSearchDropdown
{
class
DropdownNonUser
extends
gl
.
FilteredSearchDropdown
{
constructor
(
droplab
,
dropdown
,
input
,
filter
,
endpoint
,
symbol
)
{
constructor
(
droplab
,
dropdown
,
input
,
filter
,
endpoint
,
symbol
)
{
...
...
This diff is collapsed.
Click to expand it.
app/assets/javascripts/filtered_search/dropdown_user.js
View file @
0fce2df7
/* global Flash */
/* global Flash */
import
AjaxFilter
from
'
~/droplab/plugins/ajax_filter
'
;
import
AjaxFilter
from
'
~/droplab/plugins/ajax_filter
'
;
import
'
./filtered_search_dropdown
'
;
require
(
'
./filtered_search_dropdown
'
);
class
DropdownUser
extends
gl
.
FilteredSearchDropdown
{
class
DropdownUser
extends
gl
.
FilteredSearchDropdown
{
constructor
(
droplab
,
dropdown
,
input
,
filter
)
{
constructor
(
droplab
,
dropdown
,
input
,
filter
)
{
...
...
This diff is collapsed.
Click to expand it.
app/assets/javascripts/filtered_search/filtered_search_bundle.js
View file @
0fce2df7
require
(
'
./dropdown_hint
'
)
;
import
'
./dropdown_hint
'
;
require
(
'
./dropdown_non_user
'
)
;
import
'
./dropdown_non_user
'
;
require
(
'
./dropdown_user
'
)
;
import
'
./dropdown_user
'
;
require
(
'
./dropdown_utils
'
)
;
import
'
./dropdown_utils
'
;
require
(
'
./filtered_search_dropdown_manager
'
)
;
import
'
./filtered_search_dropdown_manager
'
;
require
(
'
./filtered_search_dropdown
'
)
;
import
'
./filtered_search_dropdown
'
;
require
(
'
./filtered_search_manager
'
)
;
import
'
./filtered_search_manager
'
;
require
(
'
./filtered_search_token_keys
'
)
;
import
'
./filtered_search_token_keys
'
;
require
(
'
./filtered_search_tokenizer
'
)
;
import
'
./filtered_search_tokenizer
'
;
require
(
'
./filtered_search_visual_tokens
'
)
;
import
'
./filtered_search_visual_tokens
'
;
This diff is collapsed.
Click to expand it.
app/assets/javascripts/filtered_search/filtered_search_tokenizer.js
View file @
0fce2df7
require
(
'
./filtered_search_token_keys
'
)
;
import
'
./filtered_search_token_keys
'
;
class
FilteredSearchTokenizer
{
class
FilteredSearchTokenizer
{
static
processTokens
(
input
)
{
static
processTokens
(
input
)
{
...
...
This diff is collapsed.
Click to expand it.
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