From abf15268acafe588191fffb7ca6ddb963244bb0f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 6 Jan 2016 15:39:22 +0100 Subject: Refactor wallet into logic and extension interface. --- extension/popup/balance-overview.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'extension/popup/balance-overview.js') diff --git a/extension/popup/balance-overview.js b/extension/popup/balance-overview.js index 6b6aaf794..08ad465f4 100644 --- a/extension/popup/balance-overview.js +++ b/extension/popup/balance-overview.js @@ -1,5 +1,20 @@ +/* + This file is part of TALER + (C) 2016 GNUnet e.V. + + TALER is free software; you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the Free Software + Foundation; either version 3, or (at your option) any later version. + + TALER is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along with + TALER; see the file COPYING. If not, If not, see + */ "use strict"; -document.addEventListener('DOMContentLoaded', (e) => { +document.addEventListener("DOMContentLoaded", (e) => { console.log("content loaded"); chrome.runtime.sendMessage({ type: "balances" }, function (wallet) { let context = document.getElementById("balance-template").innerHTML; -- cgit v1.2.3