Sha256: 8b73d5ad1501413f3f9cfca9ecb2b63a104c81834f37e34c771dd68d410aa8df
Contents?: true
Size: 557 Bytes
Versions: 9
Compression:
Stored size: 557 Bytes
Contents
// LOAD everything import "@hotwired/turbo-rails" import {stimulus} from "./stimulus" import WebController from "../pages/web" import SiteStimulusController from "../pages/stimulus.js" import "../stylesheets/application.scss" console.log("Kotaro is here") console.log(window.location.hash.slice(1)) const textElement = document.getElementById(window.location.hash.slice(1)) if(textElement !== null){ textElement.scrollIntoView({behavior: "smooth"}) } stimulus.register("web", WebController) stimulus.register("site-stimulus", SiteStimulusController)
Version data entries
9 entries across 9 versions & 1 rubygems