neo.mjs 4.0.66 → 4.0.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "neo.mjs",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.67",
|
4
4
|
"description": "The webworkers driven UI framework",
|
5
5
|
"type": "module",
|
6
6
|
"repository": {
|
@@ -62,7 +62,7 @@
|
|
62
62
|
"webpack-node-externals": "^3.0.0"
|
63
63
|
},
|
64
64
|
"devDependencies": {
|
65
|
-
"siesta-lite": "
|
65
|
+
"siesta-lite": "5.5.2",
|
66
66
|
"url": "^0.11.0"
|
67
67
|
},
|
68
68
|
"funding": {
|
@@ -99,6 +99,15 @@ class Application extends Base {
|
|
99
99
|
|
100
100
|
return null;
|
101
101
|
}
|
102
|
+
|
103
|
+
/**
|
104
|
+
* Unregister the app from the CSS map
|
105
|
+
* @param args
|
106
|
+
*/
|
107
|
+
destroy(...args) {
|
108
|
+
Neo.currentWorker.removeAppFromThemeMap(this.name);
|
109
|
+
super.destroy(...args);
|
110
|
+
}
|
102
111
|
}
|
103
112
|
|
104
113
|
Neo.applyClassConfig(Application);
|
package/src/worker/App.mjs
CHANGED
@@ -270,6 +270,15 @@ class App extends Base {
|
|
270
270
|
});
|
271
271
|
}
|
272
272
|
|
273
|
+
/**
|
274
|
+
* Unregister the app from the CSS map
|
275
|
+
* Only needed for SharedWorkers
|
276
|
+
* @param {String} appName
|
277
|
+
*/
|
278
|
+
removeAppFromThemeMap(appName) {
|
279
|
+
delete Neo.cssMap[appName.toLowerCase()];
|
280
|
+
}
|
281
|
+
|
273
282
|
/**
|
274
283
|
* @private
|
275
284
|
*/
|