Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

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 to true kanan will load the mod.
  • coalesce determines if a mod is able to coalesce into a single large script along side other scripts that have coalesce set to true. 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.

Clone this wiki locally