Skip to content

Commit

Permalink
0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Sep 5, 2017
1 parent 1ecb11d commit ae389a3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/klarna"
,"version": "0.3.9"
,"version": "0.4.0"
,"description": "The «Klarna» payment extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/klarna"
Expand All @@ -11,7 +11,7 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"klarna/checkout": "*", "mage2pro/core": ">=2.9.1", "mage2pro/klarna-sdk-v3": "^2.2.3"}
,"require": {"klarna/checkout": "*", "mage2pro/core": ">=2.11.22", "mage2pro/klarna-sdk-v3": "^2.2.3"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Klarna\\": ""}}
,"keywords": [
"API"
Expand Down
20 changes: 7 additions & 13 deletions view/frontend/web/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,13 @@ define([
,'Magento_Checkout/js/model/quote'
,'Magento_Customer/js/model/customer'
,'Magento_Checkout/js/model/url-builder'
], function(
df, api, billingAddressChange, parent, $, ko
,q, customer, ub
) {'use strict'; return parent.extend({
defaults: {
df: {
test: {showBackendTitle: false},
// 2016-12-17
// @used-by Df_Payment/main
// https://github.com/mage2pro/core/blob/2.4.21/Payment/view/frontend/web/template/main.html#L36-L38
formTemplate: 'Dfe_Klarna/form'
}
},
], function(df, api, billingAddressChange, parent, $, ko, q, customer, ub) {'use strict';
/** 2017-09-06 @uses Class::extend() https://github.com/magento/magento2/blob/2.2.0-rc2.3/app/code/Magento/Ui/view/base/web/js/lib/core/class.js#L106-L140 */
return parent.extend({
// 2016-12-17
// @used-by Df_Payment/main
// https://github.com/mage2pro/core/blob/2.4.21/Payment/view/frontend/web/template/main.html#L36-L38
defaults: {df: {formTemplate: 'Dfe_Klarna/form'}},
/**
* 2017-04-04
* @override
Expand Down

0 comments on commit ae389a3

Please sign in to comment.