forge: Compatibility with Fastload Utils

... by adding the string `"Bangle.loadWidget()";`. This way Fastload
Utils thinks widgets would be present and so fastloads. But in the
absence of Fastload Utils no widgets will be loaded, and so no overhead
is added for the usual case.
pull/3161/head
thyttan 2024-01-18 19:09:54 +01:00
parent cc990541fb
commit 3f16edcaf8
3 changed files with 4 additions and 1 deletions

View File

@ -1 +1,2 @@
0.01: attempt to import 0.01: attempt to import
0.02: Make it possible for Fastload Utils to fastload into this app.

View File

@ -1,5 +1,7 @@
// App Forge // App Forge
"Bangle.loadWidgets()"; // Facilitates fastloading to this app via Fastload Utils, while still not loading widgets on standard `load` calls.
st = require('Storage'); st = require('Storage');
l = /^a\..*\.js$/; l = /^a\..*\.js$/;

View File

@ -1,6 +1,6 @@
{ "id": "forge", { "id": "forge",
"name": "App Forge", "name": "App Forge",
"version":"0.01", "version":"0.02",
"description": "Easy way to run development versions of your apps", "description": "Easy way to run development versions of your apps",
"icon": "app.png", "icon": "app.png",
"readme": "README.md", "readme": "README.md",