aboutsummaryrefslogtreecommitdiff
path: root/extension/pages/confirm-contract.js
diff options
context:
space:
mode:
Diffstat (limited to 'extension/pages/confirm-contract.js')
-rw-r--r--extension/pages/confirm-contract.js10
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() {
}