config.moarConfig Plugin
An advanced feature for supplying additional account-level configuration
config.moarConfig plugin
config.moarConfig pluginAn advanced feature of the config framework for shoehorning in additional account settings.
| Config moarConfig |
|---|
namespace config.moarConfig |
| framework |
Mechanism
The important feature offered by the moarConfig plugin is the ability to pass additional options after the user-provided config, but ignore those values unless the user-provided config elides them
example
jstag.init({
a: false,
moarConfig: {
a: true,
b: true
}
});
console.log(jstag.config.a); // false
console.log(jstag.config.b); // trueUpdated 13 days ago
