diff options
| author | realtradam <[email protected]> | 2024-05-22 14:59:24 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2024-05-22 14:59:24 -0400 |
| commit | 6cf41b4a5c55c91974e31ac032d969c7481b3e80 (patch) | |
| tree | d0233a35a60f33f6d7115a26139fd6e61f96c15a /app/javascript/controllers | |
| parent | 3321db8f9c549103ebae46bf025a3135208a2e3b (diff) | |
| download | gameHolster-6cf41b4a5c55c91974e31ac032d969c7481b3e80.tar.gz gameHolster-6cf41b4a5c55c91974e31ac032d969c7481b3e80.zip | |
extract frontend
Diffstat (limited to 'app/javascript/controllers')
| -rw-r--r-- | app/javascript/controllers/application.js | 9 | ||||
| -rw-r--r-- | app/javascript/controllers/hello_controller.js | 7 | ||||
| -rw-r--r-- | app/javascript/controllers/index.js | 8 |
3 files changed, 0 insertions, 24 deletions
diff --git a/app/javascript/controllers/application.js b/app/javascript/controllers/application.js deleted file mode 100644 index 1213e85..0000000 --- a/app/javascript/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/app/javascript/controllers/hello_controller.js b/app/javascript/controllers/hello_controller.js deleted file mode 100644 index 5975c07..0000000 --- a/app/javascript/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/app/javascript/controllers/index.js b/app/javascript/controllers/index.js deleted file mode 100644 index d0685d3..0000000 --- a/app/javascript/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) |
