diff --git a/assets/controllers.json b/assets/controllers.json index a1c6e90cf..37e1abd04 100644 --- a/assets/controllers.json +++ b/assets/controllers.json @@ -1,4 +1,14 @@ { - "controllers": [], + "controllers": { + "@symfony/ux-live-component": { + "live": { + "enabled": true, + "fetch": "eager", + "autoimport": { + "@symfony/ux-live-component/styles/live.css": true + } + } + } + }, "entrypoints": [] } diff --git a/assets/js/jquery.instantSearch.js b/assets/js/jquery.instantSearch.js deleted file mode 100644 index 531bca991..000000000 --- a/assets/js/jquery.instantSearch.js +++ /dev/null @@ -1,106 +0,0 @@ -/** - * jQuery plugin for an instant searching. - * - * @author Oleg Voronkovich - * @author Yonel Ceruto - */ -(function ($) { - 'use strict'; - - String.prototype.render = function (parameters) { - return this.replace(/({{ (\w+) }})/g, function (match, pattern, name) { - return parameters[name]; - }) - }; - - // INSTANTS SEARCH PUBLIC CLASS DEFINITION - // ======================================= - - var InstantSearch = function (element, options) { - this.$input = $(element); - this.$form = this.$input.closest('form'); - this.$preview = $('