|
@@ -113,6 +113,17 @@ export default class Config {
|
|
|
return this._getFromSource( this._config, name );
|
|
return this._getFromSource( this._config, name );
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * Iterable interface.
|
|
|
|
|
+ *
|
|
|
|
|
+ * Iterates over all top level configuration names.
|
|
|
|
|
+ *
|
|
|
|
|
+ * @returns {Iterable.<String>}
|
|
|
|
|
+ */
|
|
|
|
|
+ [ Symbol.iterator ]() {
|
|
|
|
|
+ return Object.keys( this._config )[ Symbol.iterator ]();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* Saves passed configuration to the specified target (nested object).
|
|
* Saves passed configuration to the specified target (nested object).
|
|
|
*
|
|
*
|