app/javascript/solidus_admin/controllers/components.js in solidus_admin-0.0.2 vs app/javascript/solidus_admin/controllers/components.js in solidus_admin-0.1.0
- old
+ new
@@ -1,5 +1,7 @@
+/* eslint no-console: ["error", { allow: ["warn", "error"] }] */
+
import "@hotwired/stimulus"
const registeredControllers = {}
// Eager load all controllers registered beneath the `under` path in the import map to the passed application instance.
@@ -30,6 +32,6 @@
function registerController(name, module, application) {
if (!(name in registeredControllers)) {
application.register(name, module.default)
registeredControllers[name] = true
}
-};
+}