Skip to content

Commit 7dc995f

Browse files
committed
updates
1 parent b9fa16d commit 7dc995f

2 files changed

Lines changed: 23 additions & 5 deletions

File tree

MainModule.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ local LuaAdditions = {}
66

77
---------------------------------------------------------------
88

9+
LuaAdditions.version = 'v0.0.2-beta'
10+
11+
---------------------------------------------------------------
12+
913
local srcFolder = script.Parent:WaitForChild('src')
1014

1115
LuaAdditions.Table = require(srcFolder.Table)

README.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,28 @@
88
### Most of the methods in this library are directly inspired by the TC39 ECMAScript (JavaScript) standard.
99

1010
## Installation
11-
1. Download the latest release from the [releases](https://github.com/Inertia-Lighting/lua-additions/releases) page.
12-
2. Insert the `lua-additions[...].rbxm` file into the `Workspace` folder in Roblox Studio.
13-
3. Ensure that the `lua-additions` folder was inserted into the `Workspace` folder.
11+
12+
- ### Automatic
13+
```lua
14+
local LA = require(7564836781)
15+
```
16+
17+
- ### Manual
18+
1. Download the latest release from the [releases](https://github.com/Inertia-Lighting/lua-additions/releases) page.
19+
2. Insert the `lua-additions[...].rbxm` file into the `Workspace` folder in Roblox Studio.
20+
3. Ensure that the `lua-additions` folder was inserted into the `Workspace` folder.
21+
```lua
22+
local LA = require(game.Workspace:WaitForChild('lua-additions'):WaitForChild('MainModule'))
23+
```
24+
- ### Check the installation
25+
Make sure to check that the version of Lua Additions you are using is up-to-date.
26+
```lua
27+
print(LA.version)
28+
```
1429

1530
## Usage
1631
```lua
17-
-- import lua-additions from your `Workspace` folder
18-
local LA = require(game.Workspace:WaitForChild('lua-additions'):WaitForChild('MainModule'))
32+
-- import lua-additions from the installation step above
1933

2034
local mathProblems = {
2135
['add'] = { 24, 3, 5, 7 }, -- goal: add all of the numbers

0 commit comments

Comments
 (0)