This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Configuring kanan
curse cat edited this page Oct 23, 2016
·
10 revisions
To configure kanan just find each mods entry in config.toml
and edit its options. By default each mod has 3 options.
-
enable
determines if a mod is enabled or not. If set totrue
kanan will load the mod. -
coalesce
determines if a mod is able to coalesce into a single large script along side other scripts that havecoalesce
set totrue
. Most of the time, there is no reason to change the value of this unless you are authoring a script. -
delay
determines if a script should be loaded after all the other scripts. Most of the time, there is no reason to change the value of this unless you are authoring a script.
Another way of configuring kanan is by appending .coalesce
, .delayed
, or .disabled
to the end of the filename just before the .js
file extension. This causes the script to be treated as if it were configured that way in config.toml
. Note: this method takes precedence over config.toml
.
If a scripts filename doesn't appear in config.toml
, it is ran by kanan normally (it is not coalesced, delayed, or disabled). Kanan will issue a notice that the script is lacking a config.toml
entry and that one should be created.