Skip to content

Commit

Permalink
In progress: use js modules and web components.
Browse files Browse the repository at this point in the history
  • Loading branch information
davepeck committed May 9, 2024
1 parent 69598bb commit 19703b6
Show file tree
Hide file tree
Showing 9 changed files with 244 additions and 468 deletions.
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
"source.fixAll": "explicit"
}
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
},
"emmet.includeLanguages": {
"django-html": "html"
},
Expand Down
4 changes: 2 additions & 2 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"compilerOptions": {
"target": "ES6",
"module": "None",
"module": "ESNext",
"checkJs": true,
"allowJs": true,
"lib": ["dom", "es6"]
},
"include": ["server/**/*.js", "types/htmx.d.ts"]
"include": ["server/**/*.js", "server/**/*.mjs"]
}
317 changes: 0 additions & 317 deletions server/static/js/surreal.js

This file was deleted.

Loading

0 comments on commit 19703b6

Please sign in to comment.