From 24d72f4a9af15eddc73db35c196a5d56659205ba Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 22 May 2018 18:30:44 +0200 Subject: [PATCH] Few webRequires implemented --- WebVM/CloudSupport.js | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/WebVM/CloudSupport.js b/WebVM/CloudSupport.js index 43ba3adb5..236be1b45 100644 --- a/WebVM/CloudSupport.js +++ b/WebVM/CloudSupport.js @@ -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(); + + } } }