Compare commits
1
Commits
v2.0.0
..
72d794b4dd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
72d794b4dd |
@@ -1,3 +1,5 @@
|
||||
**/config.json
|
||||
**/package-lock.json
|
||||
**/node_modules
|
||||
dist/*
|
||||
go.sum
|
||||
@@ -1,4 +1,4 @@
|
||||
.PHONY: build build-web build-wfa-js clean clean-wfa-js ensure-dist workflow-init
|
||||
.PHONY: build test clean wfa-js
|
||||
|
||||
build: clean ensure-dist build-web build-wfa-js
|
||||
@echo "======================== Building Binary ======================="
|
||||
@@ -24,4 +24,3 @@ ensure-dist:
|
||||
mkdir -p dist
|
||||
|
||||
workflow-init: ensure-dist build-web
|
||||
cp -r dev_config/. .
|
||||
@@ -1,3 +0,0 @@
|
||||
web/modules/*
|
||||
WFA-JS/*
|
||||
dist/*
|
||||
@@ -1,3 +0,0 @@
|
||||
web/modules/*
|
||||
WFA-JS/*
|
||||
dist/*
|
||||
@@ -1,11 +1,8 @@
|
||||
import { defineConfig, globalIgnores } from "eslint/config";
|
||||
import { defineConfig } from "eslint/config";
|
||||
import globals from "globals";
|
||||
import js from "@eslint/js";
|
||||
|
||||
export default defineConfig([
|
||||
js.configs.recommended,
|
||||
globalIgnores(["dist/", "web/modules", "WFA-JS"]),
|
||||
{
|
||||
export default defineConfig([js.configs.recommended,{
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.browser,
|
||||
@@ -29,5 +26,4 @@ export default defineConfig([
|
||||
}],
|
||||
"prefer-const": ["error"]
|
||||
},
|
||||
}
|
||||
]);
|
||||
}]);
|
||||
@@ -7,6 +7,10 @@ async function init () {
|
||||
await deleteAllCookies();
|
||||
setAppearance();
|
||||
|
||||
for (let i = 0; i < 20; i++) {
|
||||
error(i)
|
||||
}
|
||||
|
||||
const formSubmitButton = document.querySelector("#submit");
|
||||
formSubmitButton.addEventListener("click", async (e) => {
|
||||
e.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user