neo.mjs 10.0.0-alpha.2 → 10.0.0-alpha.3
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/ServiceWorker.mjs +2 -2
- package/apps/portal/view/home/FooterContainer.mjs +1 -1
- package/examples/component/gallery/ImageStore.mjs +2 -2
- package/examples/component/helix/ImageStore.mjs +2 -2
- package/package.json +1 -1
- package/src/DefaultConfig.mjs +2 -2
- package/src/Main.mjs +0 -6
- package/src/main/DeltaUpdates.mjs +9 -2
package/ServiceWorker.mjs
CHANGED
@@ -21,9 +21,9 @@ class ImageStore extends Store {
|
|
21
21
|
*/
|
22
22
|
model: ImageModel,
|
23
23
|
/**
|
24
|
-
* @member {String} url='
|
24
|
+
* @member {String} url=Neo.config.basePath+'resources/examples/data/ai_contacts.json'
|
25
25
|
*/
|
26
|
-
url: '
|
26
|
+
url: Neo.config.basePath + 'resources/examples/data/ai_contacts.json'
|
27
27
|
}
|
28
28
|
}
|
29
29
|
|
@@ -21,9 +21,9 @@ class ImageStore extends Store {
|
|
21
21
|
*/
|
22
22
|
model: ImageModel,
|
23
23
|
/**
|
24
|
-
* @member {String} url='
|
24
|
+
* @member {String} url=Neo.config.basePath+'resources/examples/data/ai_contacts.json'
|
25
25
|
*/
|
26
|
-
url: '
|
26
|
+
url: Neo.config.basePath + 'resources/examples/data/ai_contacts.json'
|
27
27
|
}
|
28
28
|
}
|
29
29
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name" : "neo.mjs",
|
3
|
-
"version" : "10.0.0-alpha.
|
3
|
+
"version" : "10.0.0-alpha.3",
|
4
4
|
"description" : "Neo.mjs: The multi-threaded UI framework for building ultra-fast, desktop-like web applications with uncompromised responsiveness, inherent security, and a transpilation-free dev mode.",
|
5
5
|
"type" : "module",
|
6
6
|
"repository" : {
|
package/src/DefaultConfig.mjs
CHANGED
@@ -276,12 +276,12 @@ const DefaultConfig = {
|
|
276
276
|
useVdomWorker: true,
|
277
277
|
/**
|
278
278
|
* buildScripts/injectPackageVersion.mjs will update this value
|
279
|
-
* @default '10.0.0-alpha.
|
279
|
+
* @default '10.0.0-alpha.3'
|
280
280
|
* @memberOf! module:Neo
|
281
281
|
* @name config.version
|
282
282
|
* @type String
|
283
283
|
*/
|
284
|
-
version: '10.0.0-alpha.
|
284
|
+
version: '10.0.0-alpha.3'
|
285
285
|
};
|
286
286
|
|
287
287
|
Object.assign(DefaultConfig, {
|
package/src/Main.mjs
CHANGED
@@ -252,12 +252,6 @@ class Main extends core.Base {
|
|
252
252
|
|
253
253
|
DomAccess.onDomContentLoaded();
|
254
254
|
|
255
|
-
// We need different publicPath values for the main thread inside the webpack based dist envs,
|
256
|
-
// depending on the hierarchy level of the app entry point
|
257
|
-
if (environment === 'dist/development' || environment === 'dist/production') {
|
258
|
-
__webpack_require__.p = config.basePath.substring(6)
|
259
|
-
}
|
260
|
-
|
261
255
|
// Intended for the online examples where we need an easy way to add GA to every generated app
|
262
256
|
if (config.useGoogleAnalytics && !mainThreadAddons.includes('AnalyticsByGoogle')) {
|
263
257
|
mainThreadAddons.push('AnalyticsByGoogle')
|
@@ -69,12 +69,19 @@ class DeltaUpdates extends Base {
|
|
69
69
|
construct(config) {
|
70
70
|
super.construct(config);
|
71
71
|
|
72
|
-
let me
|
72
|
+
let me = this,
|
73
|
+
{environment} = NeoConfig;
|
73
74
|
|
74
|
-
if (
|
75
|
+
if (NeoConfig.renderCountDeltas) {
|
75
76
|
me.renderCountDeltas = true
|
76
77
|
}
|
77
78
|
|
79
|
+
// We need different publicPath values for the main thread inside the webpack based dist envs,
|
80
|
+
// depending on the hierarchy level of the app entry point
|
81
|
+
if (environment === 'dist/development' || environment === 'dist/production') {
|
82
|
+
__webpack_require__.p = NeoConfig.basePath.substring(6)
|
83
|
+
}
|
84
|
+
|
78
85
|
// Initiate the asynchronous loading of the renderer here.
|
79
86
|
me.#_readyPromise = (async () => {
|
80
87
|
try {
|