Few webRequires implemented

This commit is contained in:
Luis Fernando Molina committed 2018-05-22 18:30:44 +02:00
1 parent 3873d8b14c
commit 24d72f4a9a
1 file changed
+19 -2
+19 -2
View File
@@ -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();
}
}
}