aboutsummaryrefslogtreecommitdiff
path: root/background
diff options
context:
space:
mode:
Diffstat (limited to 'background')
-rw-r--r--background/background.html14
-rw-r--r--background/main.ts2
2 files changed, 16 insertions, 0 deletions
diff --git a/background/background.html b/background/background.html
new file mode 100644
index 000000000..b72696db7
--- /dev/null
+++ b/background/background.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <script src="../lib/vendor/URI.js"></script>
+ <script src="../lib/vendor/lodash.core.min.js"></script>
+ <script src="../lib/vendor/system-csp-production.src.js"></script>
+ <script src="main.js"></script>
+ <meta charset="UTF-8">
+ <title>(wallet bg page)</title>
+</head>
+<body>
+ <img id="taler-logo" src="../img/icon.png">
+</body>
+</html> \ No newline at end of file
diff --git a/background/main.ts b/background/main.ts
index 1772e0eee..60046e733 100644
--- a/background/main.ts
+++ b/background/main.ts
@@ -31,6 +31,8 @@ System.config({
System.import("../lib/wallet/wxMessaging")
.then((wxMessaging) => {
+ // Export as global for debugger
+ (window as any).wxMessaging = wxMessaging;
wxMessaging.wxMain();
})
.catch((e) => {