aboutsummaryrefslogtreecommitdiff
path: root/background
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-09-23 21:57:07 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-09-23 21:57:07 +0200
commitb48de94ff477d12f59c392b14e6518174bec879c (patch)
treef0bdfac51608a958bbb7b3b0d904d204a8839d01 /background
parent667c055fc25c3d1de6ac6d82db2b0d90f3414672 (diff)
downloadwallet-core-b48de94ff477d12f59c392b14e6518174bec879c.tar.xz
add animation
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) => {