Skip to content

Commit

Permalink
0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Sep 7, 2017
1 parent 8539002 commit 904945d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 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/qiwi"
,"version": "0.1.9"
,"version": "0.2.0"
,"description": "The «Visa QIWI Wallet» (QIWI Кошелёк) payment extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/qiwi"
Expand All @@ -11,7 +11,7 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=2.11.23", "mage2pro/phone": ">=1.0.3"}
,"require": {"mage2pro/core": ">=2.11.23", "mage2pro/phone": ">=1.0.5"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Qiwi\\": ""}}
,"keywords": [
"API"
Expand Down
6 changes: 1 addition & 5 deletions view/frontend/web/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ return parent.extend({
* @see Df_Payment/custom::initialize()
* @returns {exports}
*/
initialize: function() {
this._super();
this.phone('+55 21 3139-8000');
return this;
},
initialize: function() {this._super(); this.phone('+552131398000'); return this;},
/**
* 2017-09-06 The method should return `this` because it is used in a chain:
* this._super()
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/template/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class='input-text required-entry'
data-bind="
attr: {title: $t('Phone Number')}
,'df-phone': {options: {}, storage: phone}
,'df-phone': {options: {}, storage: phone, value: phone()}
,id: fid('phone')
,value: phone
,valueUpdate: 'keyup'
Expand Down

0 comments on commit 904945d

Please sign in to comment.