Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
e78311b3
Commit
e78311b3
authored
Feb 01, 2024
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: initial gomark wasm
parent
e3afad74
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
3 deletions
+3
-3
.eslintrc.json
web/.eslintrc.json
+1
-1
index.html
web/index.html
+0
-1
main.tsx
web/src/main.tsx
+2
-1
gomark.wasm
web/src/wasm/gomark.wasm
+0
-0
wasm_exec.js
web/src/wasm/wasm_exec.js
+0
-0
No files found.
web/.eslintrc.json
View file @
e78311b3
...
...
@@ -13,7 +13,7 @@
"sourceType"
:
"module"
},
"plugins"
:
[
"react"
,
"@typescript-eslint"
,
"prettier"
],
"ignorePatterns"
:
[
"node_modules"
,
"dist"
,
"public"
],
"ignorePatterns"
:
[
"node_modules"
,
"dist"
,
"public"
,
"src/wasm"
],
"rules"
:
{
"prettier/prettier"
:
[
"error"
,
...
...
web/index.html
View file @
e78311b3
...
...
@@ -17,7 +17,6 @@
document
.
documentElement
.
classList
.
add
(
"dark"
);
}
</script>
<script
src=
"wasm_exec.js"
></script>
</head>
<body>
<div
id=
"root"
></div>
...
...
web/src/main.tsx
View file @
e78311b3
...
...
@@ -5,13 +5,14 @@ import { Provider } from "react-redux";
import
{
RouterProvider
}
from
"react-router-dom"
;
import
"./css/global.css"
;
import
"./css/tailwind.css"
;
import
wasmUrl
from
"./gomark.wasm?url"
;
import
"./helpers/polyfill"
;
import
"./i18n"
;
import
"./less/highlight.less"
;
import
router
from
"./router"
;
import
store
from
"./store"
;
import
theme
from
"./theme"
;
import
wasmUrl
from
"./wasm/gomark.wasm?url"
;
import
"./wasm/wasm_exec.js"
;
(
async
()
=>
{
const
go
=
new
window
.
Go
();
...
...
web/src/gomark.wasm
→
web/src/
wasm/
gomark.wasm
View file @
e78311b3
File moved
web/
public
/wasm_exec.js
→
web/
src/wasm
/wasm_exec.js
View file @
e78311b3
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment