Skip to content

Commit c1d2c43

Browse files
authored
Make it easier to follow
1 parent 7020e91 commit c1d2c43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,19 @@ When targeting C++ we compile the Lua runtime from its C source code.
4646

4747
When targeting JS we utilize [Fengari](https://fengari.io/), which is the Lua VM written in pure JavaScript.
4848

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.
5250

5351
##### For browser without bundlers
5452

53+
1. Install haxelib: [hxjs-fengari](https://github.com/kevinresol/hxjs-fengari)
5554
1. Git clone https://github.com/fengari-lua/fengari
5655
1. Run `yarn && yarn run build`
5756
1. Add the output file (`dist/fengari.js`) to your project using a `<script>` tag in html
5857
1. Add `-lib hxjs-fengari -D fengari_global` to your haxe build
5958

6059
#### For Node.js or browser js with bundlers
6160

61+
1. Install haxelib: [hxjs-fengari](https://github.com/kevinresol/hxjs-fengari)
6262
1. `yarn add https://github.com/fengari-lua/fengari`
6363
1. Add `-lib hxjs-fengari` to your haxe build
6464

0 commit comments

Comments
 (0)