Merge pull request #10619 from openfoodfoundation/dependabot/npm_and_yarn/stimulus_reflex-3.5.0-rc1

Bump stimulus_reflex and cable_ready from 3.5.0-preX to 3.5.0-rc2
This commit is contained in:
Filipe
2023-04-05 17:37:15 +01:00
committed by GitHub
15 changed files with 53 additions and 62 deletions

View File

@@ -1,5 +1,4 @@
import { Controller } from "stimulus";
import CableReady from "cable_ready";
export default class extends Controller {
static targets = ["background", "modal", "email"];

View File

@@ -1,5 +1,4 @@
import { Controller } from "stimulus";
import CableReady from "cable_ready";
export default class extends Controller {
static values = { primaryProducer: String, enterpriseSells: String };

View File

@@ -7,7 +7,9 @@ import * as Turbo from "@hotwired/turbo";
window.Turbo = Turbo;
window.CableReady = CableReady;
mrujs.start({
plugins: [new CableCar(CableReady)],
plugins: [
new CableCar(CableReady, { mimeType: "text/vnd.cable-ready.json" }),
],
});
require.context("../fonts", true);