From 82742861d29a9d75da4de90322a128bcad5da503 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 22 Feb 2016 23:13:28 +0100 Subject: don't use emsc directly in wallet; show more reserve creation detail --- extension/background/main.ts | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'extension/background') diff --git a/extension/background/main.ts b/extension/background/main.ts index 4ec2c4d5d..746d81a60 100644 --- a/extension/background/main.ts +++ b/extension/background/main.ts @@ -26,22 +26,6 @@ System.config({ defaultJSExtensions: true, }); -// We expect that in the manifest, the emscripten js is loaded -// becore the background page. -// Currently it is not possible to use SystemJS to load the emscripten js. -declare var Module: any; -if ("object" !== typeof Module) { - throw Error("emscripten not loaded, no 'Module' defined"); -} - -// Manually register the emscripten js as a SystemJS, so that -// we can use it from TypeScript by importing it. -{ - let mod = System.newModule({Module: Module}); - let modName = System.normalizeSync("../lib/emscripten/emsc"); - console.log("registering", modName); - System.set(modName, mod); -} System.import("../lib/wallet/wxMessaging") .then((wxMessaging) => { -- cgit v1.2.3