gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-wallet-webex] branch master updated: comments


From: gnunet
Subject: [GNUnet-SVN] [taler-wallet-webex] branch master updated: comments
Date: Wed, 24 May 2017 16:54:56 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-webex.

The following commit(s) were added to refs/heads/master by this push:
     new f9e1ad06 comments
f9e1ad06 is described below

commit f9e1ad0624c4b76df45a689aff5d39bb74f80183
Author: Florian Dold <address@hidden>
AuthorDate: Wed May 24 16:56:46 2017 +0200

    comments
---
 src/wallet.ts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/src/wallet.ts b/src/wallet.ts
index a496b6f8..f2c38078 100644
--- a/src/wallet.ts
+++ b/src/wallet.ts
@@ -76,11 +76,19 @@ import {CryptoApi} from "./cryptoApi";
 import URI = require("urijs");
 
 
+/**
+ * Named tuple of coin and denomination.
+ */
 export interface CoinWithDenom {
   coin: CoinRecord;
   denom: DenominationRecord;
 }
 
+
+/**
+ * Element of the payback list that the
+ * exchange gives us in /keys.
+ */
 @Checkable.Class
 export class Payback {
   @Checkable.String
@@ -88,6 +96,9 @@ export class Payback {
 }
 
 
+/**
+ * Structure that the exchange gives us in /keys.
+ */
 @Checkable.Class
 export class KeysJson {
   @Checkable.List(Checkable.Value(Denomination))
@@ -287,6 +298,10 @@ const builtinCurrencies: CurrencyRecord[] = [
 ];
 
 
+
+// FIXME: these functions should be dependency-injected
+// into the wallet, as this is chrome specific => bad
+
 function setTimeout(f: any, t: number) {
   return chrome.extension.getBackgroundPage().setTimeout(f, t);
 }

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]