This commit is contained in:
Jordan Pittman 2023-06-14 14:08:05 -04:00 • committed by Robin Malfait
parent e83435295d
commit bf583334a2
No known key found for this signature in database
GPG key ID: 92F53D68B9041AFE

View file

@ -5,6 +5,10 @@
// config[plugin] = "anything" // not supported
// config[plugin][key] = "foo" // not supported
/**
* @typedef {[plugin: string|null, key: string[]|null, option: string|null]} ConfigPath
*/
export class CssBasedConfig {
/** @type {*} */
config = {};
@ -130,7 +134,7 @@ export class CssBasedConfig {
* - An "option" which is a key into the "options" object when a Tuple-like value is used
*
* @param {string} name
* @returns {[plugin: string|null, keypath: string[]|null, option: string|null]}
* @returns {ConfigPath}
*/
parseVariableName(name) {
// Unescape the name if needed