diff --git a/Profile.md b/Profile.md index db255ca..f1a28e0 100644 --- a/Profile.md +++ b/Profile.md @@ -8,7 +8,7 @@ A profile contains a list of [layers](https://github.com/SpoinkyNL/Artemis/wiki/ #### Example: ```lua -print("Current profile: ".. Profile.Name); +print("Current profile: ".. Profile.Name) ``` ## Functions @@ -16,13 +16,13 @@ print("Current profile: ".. Profile.Name); Returns all layers within the profile #### Syntax: ```lua -table GetLayers( ); +table GetLayers( ) ``` #### Example: ```lua -local layers = Profile.GetLayers(); +local layers = Profile.GetLayers() for layerKey, layerValue in pairs(layers) do - print(layerValue.Name) + print(layerValue.Name) end ``` #### Result: @@ -36,12 +36,12 @@ Test layer 2 If found, returns the first layer with the given name #### Syntax: ```lua -layer GetLayerByName(string layerName); +layer GetLayerByName(string layerName) ``` #### Example: ```lua -local layer = Profile.GetLayerByName("Test layer 1"); -print(layer.Name); +local layer = Profile.GetLayerByName("Test layer 1") +print(layer.Name) ``` #### Result: ```