Skip to content

Commit

Permalink
Merge pull request #11 from algolia/feature/MAGE-957
Browse files Browse the repository at this point in the history
MAGE-957: js and css reorged.
  • Loading branch information
mrahman3177 authored Aug 13, 2024
2 parents 6d3c5c6 + 3efa429 commit 91cf238
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"license": [
"MIT"
],
"version": "1.2.2",
"version": "1.3.0",
"require": {
"algolia/algoliasearch-magento-2": "^3.9.1",
"algolia/algoliasearch-magento-2": "^3.14.0",
"magento/magento-composer-installer": "*"
},
"extra": {
Expand Down
28 changes: 14 additions & 14 deletions view/frontend/requirejs-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ const config = {
map: {
"*": {
// Include your own hooks to handle front end events - see https://www.algolia.com/doc/integration/magento-2/customize/custom-front-end-events/
algoliaHooks: 'Algolia_CustomAlgolia/hooks',
algoliaHooks: 'Algolia_CustomAlgolia/js/hooks',

// Additional lib for recent searches plugin - OPTIONAL
algoliaRecentSearches: 'Algolia_CustomAlgolia/autocomplete-plugin-recent-searches'
algoliaRecentSearches: 'Algolia_CustomAlgolia/js/internals/autocomplete-plugin-recent-searches'

////////////////////////////////////
// AUTOCOMPLETE TEMPLATE OVERRIDE //
////////////////////////////////////

// Uncomment the following line to override the products.js functional template
// productsHtml: 'Algolia_CustomAlgolia/internals/template/autocomplete/products'
// productsHtml: 'Algolia_CustomAlgolia/js/internals/template/autocomplete/products'
},
},

Expand All @@ -42,20 +42,20 @@ const config = {
config: {
mixins: {
// Uncomment the following mixins to override the hit template via a JavaScript mixin for a given source
// "Algolia_AlgoliaSearch/internals/template/autocomplete/products": {
// "Algolia_CustomAlgolia/template/autocomplete/products-mixin": true,
"Algolia_AlgoliaSearch/js/template/autocomplete/products": {
"Algolia_CustomAlgolia/js/template/autocomplete/products-mixin": true,
}
// "Algolia_AlgoliaSearch/js/template/autocomplete/categories": {
// "Algolia_CustomAlgolia/js/template/autocomplete/categories-mixin": true,
// },
// "Algolia_AlgoliaSearch/internals/template/autocomplete/categories": {
// "Algolia_CustomAlgolia/template/autocomplete/categories-mixin": true,
// "Algolia_AlgoliaSearch/js/template/autocomplete/pages": {
// "Algolia_CustomAlgolia/js/template/autocomplete/pages-mixin": true,
// },
// "Algolia_AlgoliaSearch/internals/template/autocomplete/pages": {
// "Algolia_CustomAlgolia/template/autocomplete/pages-mixin": true,
// "Algolia_AlgoliaSearch/js/template/autocomplete/additional-section": {
// "Algolia_CustomAlgolia/js/template/autocomplete/additional-section-mixin": true,
// },
// "Algolia_AlgoliaSearch/internals/template/autocomplete/additional-section": {
// "Algolia_CustomAlgolia/template/autocomplete/additional-section-mixin": true,
// },
// "Algolia_AlgoliaSearch/internals/template/autocomplete/suggestions": {
// "Algolia_CustomAlgolia/template/autocomplete/suggestions-mixin": true,
// "Algolia_AlgoliaSearch/js/template/autocomplete/suggestions": {
// "Algolia_CustomAlgolia/js/template/autocomplete/suggestions-mixin": true,
// },
},
},
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 91cf238

Please sign in to comment.