diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-02-22 23:13:28 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-02-22 23:13:28 +0100 |
commit | 82742861d29a9d75da4de90322a128bcad5da503 (patch) | |
tree | 666fcb4d52e5220de7ebdd9f36e922dc9f441862 /extension/background/main.ts | |
parent | 268ca9924435ec65dcb15da0b425b608d4407008 (diff) |
don't use emsc directly in wallet; show more reserve creation detail
Diffstat (limited to 'extension/background/main.ts')
-rw-r--r-- | extension/background/main.ts | 16 |
1 files changed, 0 insertions, 16 deletions
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) => { |