Commit 0fce2df7 authored by Mike Greiling's avatar Mike Greiling

update filtered_search to ES module syntax

parent c594ed49
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) {
......
...@@ -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) {
......
/* 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) {
......
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';
require('./filtered_search_token_keys'); import './filtered_search_token_keys';
class FilteredSearchTokenizer { class FilteredSearchTokenizer {
static processTokens(input) { static processTokens(input) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment