Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
config:modopts.ini [2021/05/25 19:15] – [Format] Mention that you (sysop) can add sections/keys as needed digital man | config:modopts.ini [2021/07/07 19:08] – [Use] Enable JS and ini syntax highlighting digital man | ||
---|---|---|---|
Line 11: | Line 11: | ||
===== Use ===== | ===== Use ===== | ||
JavaScript module authors use the '' | JavaScript module authors use the '' | ||
- | | + | <code javascript> |
+ | options=load(new Object, " | ||
+ | </ | ||
where " | where " | ||
Line 17: | Line 19: | ||
Example '' | Example '' | ||
- | <file> | + | <code ini> |
[mymodule] | [mymodule] | ||
enable_cool_feature=true | enable_cool_feature=true | ||
- | </file> | + | </code> |
Options that need literal values should use a ':' | Options that need literal values should use a ':' | ||
- | <file> | + | <code ini> |
[xtrn_sec] | [xtrn_sec] | ||
which: \r\n\1-\1gWhich or \1h~Q\1n\1guit: | which: \r\n\1-\1gWhich or \1h~Q\1n\1guit: | ||
- | </file> | + | </code> |
Example module use of modopts in a fictional example module named " | Example module use of modopts in a fictional example module named " | ||
- | < | + | < |
options=load(new Object, " | options=load(new Object, " | ||