diff options
Diffstat (limited to 'extension/pages/confirm-create-reserve.js')
-rw-r--r-- | extension/pages/confirm-create-reserve.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/extension/pages/confirm-create-reserve.js b/extension/pages/confirm-create-reserve.js index a53833f04..3ac757249 100644 --- a/extension/pages/confirm-create-reserve.js +++ b/extension/pages/confirm-create-reserve.js @@ -13,14 +13,15 @@ You should have received a copy of the GNU General Public License along with TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/> */ -System.register(["../lib/wallet/types", "../lib/web-common"], function(exports_1) { +System.register(["../lib/web-common", "../lib/wallet/wallet"], function(exports_1, context_1) { "use strict"; - var types_1, web_common_1, types_2; + var __moduleName = context_1 && context_1.id; + var web_common_1, wallet_1; function main() { function updateAmount() { var showAmount = document.getElementById("show-amount"); console.log("Query is " + JSON.stringify(query)); - var amount = types_1.AmountJson.checked(JSON.parse(query.amount)); + var amount = wallet_1.AmountJson.checked(JSON.parse(query.amount)); showAmount.textContent = web_common_1.amountToPretty(amount); } var url = URI(document.location.href); @@ -44,7 +45,7 @@ System.register(["../lib/wallet/types", "../lib/web-common"], function(exports_1 throw Error("empty response"); } if (!rawResp.error) { - var resp = types_2.CreateReserveResponse.checked(rawResp); + var resp = wallet_1.CreateReserveResponse.checked(rawResp); var q = { mint: resp.mint, reserve_pub: resp.reservePub, @@ -67,12 +68,11 @@ System.register(["../lib/wallet/types", "../lib/web-common"], function(exports_1 exports_1("main", main); return { setters:[ - function (types_1_1) { - types_1 = types_1_1; - types_2 = types_1_1; - }, function (web_common_1_1) { web_common_1 = web_common_1_1; + }, + function (wallet_1_1) { + wallet_1 = wallet_1_1; }], execute: function() { "use strict"; |