Skip to content

Commit e1c2e75

Browse files
committed
MAGE-899 remove jQuery argument in favor of JS module dep
1 parent 7b6aa74 commit e1c2e75

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

view/frontend/web/js/autocomplete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ define([
5454

5555
initialize(config, element) {
5656
// console.log('AC initialized with', config, element);
57-
this.buildAutocomplete($);
57+
this.buildAutocomplete();
5858
},
5959

6060
/**

view/frontend/web/js/instantsearch.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ define([
2222
return Component.extend({
2323
initialize(config, element) {
2424
// console.log('IS initialized with', config, element);
25-
this.buildInstantSearch($);
25+
this.buildInstantSearch();
2626
},
2727

28-
async buildInstantSearch($) {
28+
async buildInstantSearch() {
2929
const templateProcessor = await templateEngine.getSelectedEngineAdapter();
3030
const mockAlgoliaBundle = this.mockAlgoliaBundle();
3131

0 commit comments

Comments
 (0)