-
Notifications
You must be signed in to change notification settings - Fork 4
Configuration
On top of the dist/simploo.lua file are a bunch of configuration variables that you can change.
This setting disables non essential parts simploo in order to improve performance on production environments. This will bypass sanity and safety checks so don't enable it during development.
Default: false
simploo.config["production"] = falseExpose all syntax related functions as globals instead of having to call simploo.syntax. explicitly.
You can also manually enable or disable the simploo syntax globals in sections of your code by calling simploo.syntax.init() and simploo.syntax.destroy().
Default: true
simploo.config["exposeSyntax"] = trueWhen defining a class a 2nd time you can automatically update all the earlier instances of a class with newly added members.
This setting will slightly increase class instantiation time and memory consumption.
Default: false
simploo.config["classHotswap"] = false