Skip to content
Snippets Groups Projects
Commit 6ae79a48 authored by rswindell's avatar rswindell
Browse files

New modopts.js usage supported:

You may now request the value of a single modopts.ini key value (optionally
specifying a default option value), via:
    optval = load({}, 'modopts.js', 'modname', 'optname');
or:
    optval = load({}, 'modopts.js', 'modname', 'optname', default_optval);

This usage will return just a single option value rather than an object
containing properties reflecting all the options in the [modname] section.
The pre-existing usage is still supported (and preferred in most cases).
parent f1aa7207
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment