File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,19 +46,19 @@ When targeting C++ we compile the Lua runtime from its C source code.
46
46
47
47
When targeting JS we utilize [ Fengari] ( https://fengari.io/ ) , which is the Lua VM written in pure JavaScript.
48
48
49
- 1 . Install haxelib: [ hxjs-fengari] ( https://github.com/kevinresol/hxjs-fengari )
50
-
51
- From here you can choose to either build a standalone js file for Fengari or ` require ` it in your project.
49
+ You can choose to either build a standalone js file for Fengari or ` require ` it in your project.
52
50
53
51
##### For browser without bundlers
54
52
53
+ 1 . Install haxelib: [ hxjs-fengari] ( https://github.com/kevinresol/hxjs-fengari )
55
54
1 . Git clone https://github.com/fengari-lua/fengari
56
55
1 . Run ` yarn && yarn run build `
57
56
1 . Add the output file (` dist/fengari.js ` ) to your project using a ` <script> ` tag in html
58
57
1 . Add ` -lib hxjs-fengari -D fengari_global ` to your haxe build
59
58
60
59
#### For Node.js or browser js with bundlers
61
60
61
+ 1 . Install haxelib: [ hxjs-fengari] ( https://github.com/kevinresol/hxjs-fengari )
62
62
1 . ` yarn add https://github.com/fengari-lua/fengari `
63
63
1 . Add ` -lib hxjs-fengari ` to your haxe build
64
64
You can’t perform that action at this time.
0 commit comments