diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-16 10:23:42 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-16 10:23:42 +0100 |
commit | 665c1d80726ce2ffdf0020de9c4dd293ccbee849 (patch) | |
tree | 96747abff964750f6ddf4fee35196a90a8c7280a /playground | |
parent | a56210dfc9a40a32a2025eb462eead436ce180bb (diff) |
add JSX classes for translation
Diffstat (limited to 'playground')
-rw-r--r-- | playground/animation.html | 6 | ||||
-rw-r--r-- | playground/contract.html | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/playground/animation.html b/playground/animation.html index eec913c65..893276b3f 100644 --- a/playground/animation.html +++ b/playground/animation.html @@ -2,11 +2,11 @@ <html> <head> <title>Spinner playground</title> - <script src="../lib/vendor/system-csp-production.src.js"></script> + <script src="/src/vendor/system-csp-production.src.js"></script> </head> <html> <div style="display: none;"> - <img src="../img/icon.png" id="taler-logo" style="display:hidden;"> + <img src="/img/icon.png" id="taler-logo" style="display:hidden;"> </div> <br /> <div id="container"></div> @@ -17,7 +17,7 @@ defaultJSExtensions: true, }); - System.import("../lib/wallet/chromeBadge") + System.import("/src/chromeBadge") .then((badge) => { let b = new badge.ChromeBadge(window); window.badge = b; diff --git a/playground/contract.html b/playground/contract.html index 3bc7d3480..20365aac8 100644 --- a/playground/contract.html +++ b/playground/contract.html @@ -3,9 +3,8 @@ <head> <title>Contract playground</title> <meta charset="UTF-8"> - <script src="../lib/vendor/mithril.js"></script> - <script src="../lib/i18n.js"></script> - <script src="../lib/vendor/system-csp-production.src.js"></script> + <script src="/src/i18n.js"></script> + <script src="/src/vendor/system-csp-production.src.js"></script> <script type="application/javascript"> var contract = { "H_wire": "ADVPV6Q9P0GF74CD5H5ENYCC862AM34ZS93JDQR2G09SR8868YMPYCVQP8WGGVVYZDY2ZMG703TQESN837VBAEDCGMS2D2RADKFKW08", @@ -52,7 +51,7 @@ }); document.addEventListener("DOMContentLoaded", () => { - System.import("../lib/wallet/renderHtml") + System.import("/src/renderHtml") .then((render) => { let r = render.renderContract(contract); let component = {view: function () {return r;}} |