diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-08-24 14:01:46 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-08-24 14:01:46 +0200 |
commit | a72d7a7e6c02e40d141f36b4fc2fa7bfa0047609 (patch) | |
tree | 412ba1361deea1de42ec704425e84eda30c6be6c /articles/ui/figs/taler-contract.html | |
parent | 92a68087c8b4975ed21d1e8f480a2dc7da139f4a (diff) | |
download | wallet-core-a72d7a7e6c02e40d141f36b4fc2fa7bfa0047609.tar.xz |
Add contract example, remove legacy example
Diffstat (limited to 'articles/ui/figs/taler-contract.html')
-rw-r--r-- | articles/ui/figs/taler-contract.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/articles/ui/figs/taler-contract.html b/articles/ui/figs/taler-contract.html new file mode 100644 index 000000000..7d4b8d5bf --- /dev/null +++ b/articles/ui/figs/taler-contract.html @@ -0,0 +1,6 @@ +<script src="taler-wallet-lib.js"></script> +<script> + taler.offerContractFrom("https://myshop/products/article/42", (err) => { + alert("Error while offering contract"); + }); +</script> |