theprogrammablemind_4wp 7.3.6 → 7.3.7
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/config.js +3 -2
package/package.json
CHANGED
package/src/config.js
CHANGED
@@ -1576,7 +1576,8 @@ class Config {
|
|
1576
1576
|
})
|
1577
1577
|
}
|
1578
1578
|
|
1579
|
-
rebuild ({ isModule: mainIsModule = false } = {}) {
|
1579
|
+
// rebuild ({ isModule: mainIsModule = false } = {}) {
|
1580
|
+
rebuild ({ isModule: mainIsModule } = {}) {
|
1580
1581
|
const debug = this.config.debug;
|
1581
1582
|
this.config = _.cloneDeep(this.initConfig)
|
1582
1583
|
if (debug) {
|
@@ -1584,7 +1585,7 @@ class Config {
|
|
1584
1585
|
}
|
1585
1586
|
// already set
|
1586
1587
|
// this.isModule = this.isModule || mainIsModule
|
1587
|
-
mainIsModule = this.isModule
|
1588
|
+
mainIsModule = (mainIsModule === undefined) ? this.isModule : mainIsModule
|
1588
1589
|
this.config.objects.namespaced = {}
|
1589
1590
|
this.resetWasInitialized()
|
1590
1591
|
|