aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--background/main.ts4
-rw-r--r--content_scripts/notify.ts11
-rw-r--r--pages/confirm-contract.tsx9
-rw-r--r--pages/confirm-create-reserve.tsx8
-rw-r--r--pages/show-db.ts6
-rw-r--r--popup/popup.css7
-rw-r--r--popup/popup.tsx8
7 files changed, 47 insertions, 6 deletions
diff --git a/background/main.ts b/background/main.ts
index 746d81a60..724c4c978 100644
--- a/background/main.ts
+++ b/background/main.ts
@@ -16,6 +16,8 @@
/**
* Entry point for the background page.
+ *
+ * @author Florian Dold
*/
"use strict";
@@ -34,4 +36,4 @@ System.import("../lib/wallet/wxMessaging")
.catch((e) => {
console.log("wallet failed");
console.error(e.stack);
- }); \ No newline at end of file
+ });
diff --git a/content_scripts/notify.ts b/content_scripts/notify.ts
index 6fa965ba7..afc03c934 100644
--- a/content_scripts/notify.ts
+++ b/content_scripts/notify.ts
@@ -14,16 +14,19 @@
TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/>
*/
-/// <reference path="../lib/decl/chrome/chrome.d.ts" />
-
-"use strict";
-
/**
* Script that is injected into (all!) pages to allow them
* to interact with the GNU Taler wallet via DOM Events.
+ *
+ * @author Florian Dold
*/
+
+/// <reference path="../lib/decl/chrome/chrome.d.ts" />
+
+"use strict";
+
// Make sure we don't pollute the namespace too much.
namespace TalerNotify {
const PROTOCOL_VERSION = 1;
diff --git a/pages/confirm-contract.tsx b/pages/confirm-contract.tsx
index ff6ffba64..9ce1b0a5a 100644
--- a/pages/confirm-contract.tsx
+++ b/pages/confirm-contract.tsx
@@ -14,6 +14,13 @@
TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/>
*/
+/**
+ * Page shown to the user to confirm entering
+ * a contract.
+ *
+ * @author Florian Dold
+ */
+
/// <reference path="../lib/decl/handlebars/handlebars.d.ts" />
"use strict";
@@ -79,4 +86,4 @@ export function main() {
offer);
});
}
-} \ No newline at end of file
+}
diff --git a/pages/confirm-create-reserve.tsx b/pages/confirm-create-reserve.tsx
index 914f58cad..5ed97db04 100644
--- a/pages/confirm-create-reserve.tsx
+++ b/pages/confirm-create-reserve.tsx
@@ -14,6 +14,14 @@
TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/>
*/
+
+/**
+ * Page shown to the user to confirm creation
+ * of a reserve, usually requested by the bank.
+ *
+ * @author Florian Dold
+ */
+
/// <reference path="../lib/decl/mithril.d.ts" />
import {amountToPretty, canonicalizeBaseUrl} from "../lib/wallet/helpers";
diff --git a/pages/show-db.ts b/pages/show-db.ts
index 1c414dde7..c99d2f2b3 100644
--- a/pages/show-db.ts
+++ b/pages/show-db.ts
@@ -15,6 +15,12 @@
*/
+/**
+ * Wallet database dump for debugging.
+ *
+ * @author Florian Dold
+ */
+
function replacer(match, pIndent, pKey, pVal, pEnd) {
var key = '<span class=json-key>';
var val = '<span class=json-value>';
diff --git a/popup/popup.css b/popup/popup.css
index 53c9f97ed..7218b7baf 100644
--- a/popup/popup.css
+++ b/popup/popup.css
@@ -1,3 +1,10 @@
+
+/**
+ * @author Gabor X. Toth
+ * @author Marcello Stanisci
+ * @author Florian Dold
+ */
+
body {
min-height: 20em;
width: 30em;
diff --git a/popup/popup.tsx b/popup/popup.tsx
index 963556c32..2cd753e4f 100644
--- a/popup/popup.tsx
+++ b/popup/popup.tsx
@@ -15,6 +15,14 @@
*/
+/**
+ * Popup shown to the user when they click
+ * the Taler browser action button.
+ *
+ * @author Florian Dold
+ */
+
+
/// <reference path="../lib/decl/mithril.d.ts" />
/// <reference path="../lib/decl/lodash.d.ts" />