Few webRequires implemented
This commit is contained in:
1 parent
3873d8b14c
commit
24d72f4a9a
1 file changed
+19
-2
+19
-2
@@ -17,8 +17,12 @@ function runBot() {
|
||||
|
||||
let root = newRoot();
|
||||
|
||||
root.initialize();
|
||||
root.start();
|
||||
root.initialize(onInitialized);
|
||||
|
||||
function onInitialized() {
|
||||
|
||||
root.start();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -30,6 +34,19 @@ function webRequire(pModulePath) {
|
||||
|
||||
return newWebFS();
|
||||
}
|
||||
case './BlobStorage': {
|
||||
|
||||
return newBlobStorage();
|
||||
}
|
||||
case 'azure-storage': {
|
||||
|
||||
return AzureStorage.Blob;
|
||||
}
|
||||
case './DebugLog': {
|
||||
|
||||
return newDebugLog();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user