@basthon/gui-base 0.50.17 → 0.60.0
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/lib/main.js +4 -1
- package/package.json +5 -5
package/lib/main.js
CHANGED
|
@@ -145,7 +145,10 @@ export class GUIBase {
|
|
|
145
145
|
if (fileURL != null)
|
|
146
146
|
fileURL = decodeURIComponent(fileURL);
|
|
147
147
|
// empty from param gives empty content
|
|
148
|
-
if (fileURL
|
|
148
|
+
if (fileURL === "") {
|
|
149
|
+
content = "";
|
|
150
|
+
}
|
|
151
|
+
else {
|
|
149
152
|
try {
|
|
150
153
|
const response = await fetch(fileURL);
|
|
151
154
|
if (!response.ok)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basthon/gui-base",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.60.0",
|
|
4
4
|
"description": "Basthon - Base GUI",
|
|
5
5
|
"homepage": "https://basthon.fr",
|
|
6
6
|
"bugs": {
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"clean": "rm -rf lib/"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@basthon/checkpoints": "0.
|
|
29
|
-
"@basthon/kernel-base": "0.
|
|
30
|
-
"@basthon/kernel-loader": "0.
|
|
28
|
+
"@basthon/checkpoints": "0.60.0",
|
|
29
|
+
"@basthon/kernel-base": "0.60.0",
|
|
30
|
+
"@basthon/kernel-loader": "0.60.0",
|
|
31
31
|
"js-base64": "^3.7.2",
|
|
32
32
|
"pako": "^2.0.4",
|
|
33
33
|
"promise-delegate": "^1.0.1"
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "604fd29e0871997b778d5f360860c10ac0060f0d"
|
|
45
45
|
}
|