-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
18 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import htmx from "htmx.org" | ||
import components from "./components" | ||
import emailSpellChecker from "./emailSpellCheck" | ||
import htmxLoader from "./htmx-loader" | ||
import timezoneDetect from "./timezone" | ||
|
||
import logger from "./logger" | ||
|
@@ -11,9 +11,12 @@ dismiss_alert = function (e) { | |
|
||
components() | ||
timezoneDetect() | ||
htmxLoader() | ||
window.addEventListener("DOMContentLoaded", () => { | ||
emailSpellChecker() | ||
}) | ||
|
||
window.htmx = htmx | ||
console.log( | ||
"Hey! Curious about how Totem works? Check out our open source code at https://github.com/totem-technologies/totem-server. Want to work with us? We'd love to talk to you, send me a message at [email protected]." | ||
) | ||
logger(window.TOTEM_DATA.debug) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import htmx from "htmx.org" | ||
|
||
function init() { | ||
window.htmx = htmx | ||
} | ||
|
||
export default init |
Oops, something went wrong.