diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-02-11 11:29:57 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-02-11 11:30:41 +0100 |
commit | 164d5f20c3dbb60c8898fb4aa7d729ec8d9b7537 (patch) | |
tree | 20f6461bb48a89a455fff82ac3cc4f2cde020ac1 /extension/pages/confirm-contract.js | |
parent | 47f2084706aaa79c2f2bc4851f487b7badf9d60a (diff) |
refactoring; make wallet follow new bank protocol
Diffstat (limited to 'extension/pages/confirm-contract.js')
-rw-r--r-- | extension/pages/confirm-contract.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extension/pages/confirm-contract.js b/extension/pages/confirm-contract.js index d715985b5..5e7d82f98 100644 --- a/extension/pages/confirm-contract.js +++ b/extension/pages/confirm-contract.js @@ -13,11 +13,11 @@ 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/web-common"], function(exports_1, context_1) { +System.register(["../lib/wallet/helpers"], function(exports_1, context_1) { /// <reference path="../lib/decl/handlebars/handlebars.d.ts" /> "use strict"; var __moduleName = context_1 && context_1.id; - var web_common_1; + var helpers_1; function prettyAmount(amount) { var v = amount.value + amount.fraction / 1e6; return v.toFixed(2) + " " + amount.currency; @@ -55,15 +55,15 @@ System.register(["../lib/web-common"], function(exports_1, context_1) { } var c = d.offer.contract; console.log("contract", c); - document.location.href = web_common_1.substituteFulfillmentUrl(c.fulfillment_url, offer); + document.location.href = helpers_1.substituteFulfillmentUrl(c.fulfillment_url, offer); }); } } exports_1("main", main); return { setters:[ - function (web_common_1_1) { - web_common_1 = web_common_1_1; + function (helpers_1_1) { + helpers_1 = helpers_1_1; }], execute: function() { } |