From 34346b1fd4fffd2571374f86b16084066dc4aa2d Mon Sep 17 00:00:00 2001 From: realtradam Date: Thu, 6 Jun 2024 19:24:45 -0400 Subject: add seperate uploading page and update match backend functionality --- src/controllers/application.js | 9 --------- src/controllers/hello_controller.js | 7 ------- src/controllers/index.js | 8 -------- 3 files changed, 24 deletions(-) delete mode 100644 src/controllers/application.js delete mode 100644 src/controllers/hello_controller.js delete mode 100644 src/controllers/index.js (limited to 'src/controllers') diff --git a/src/controllers/application.js b/src/controllers/application.js deleted file mode 100644 index 1213e85..0000000 --- a/src/controllers/application.js +++ /dev/null @@ -1,9 +0,0 @@ -import { Application } from "@hotwired/stimulus" - -const application = Application.start() - -// Configure Stimulus development experience -application.debug = false -window.Stimulus = application - -export { application } diff --git a/src/controllers/hello_controller.js b/src/controllers/hello_controller.js deleted file mode 100644 index 5975c07..0000000 --- a/src/controllers/hello_controller.js +++ /dev/null @@ -1,7 +0,0 @@ -import { Controller } from "@hotwired/stimulus" - -export default class extends Controller { - connect() { - this.element.textContent = "Hello World!" - } -} diff --git a/src/controllers/index.js b/src/controllers/index.js deleted file mode 100644 index d0685d3..0000000 --- a/src/controllers/index.js +++ /dev/null @@ -1,8 +0,0 @@ -// This file is auto-generated by ./bin/rails stimulus:manifest:update -// Run that command whenever you add a new controller or create them with -// ./bin/rails generate stimulus controllerName - -import { application } from "./application" - -import HelloController from "./hello_controller" -application.register("hello", HelloController) -- cgit v1.2.3