Skip to content

Commit

Permalink
2.12.15
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Sep 21, 2017
1 parent 9b7f2fc commit b278263
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
19 changes: 17 additions & 2 deletions Payment/view/frontend/web/withOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,23 @@ return parent.extend({
* https://github.com/mage2pro/core/blob/2.12.8/Payment/view/frontend/web/template/main.html#L3
* @returns {string}
*/
containerCss: function() {return df.a.ccClean(', ', [mixin.containerCss.apply(this), 'withOptions',
'withOptions-' + (this.needShowOptions() ? 'magento' : 'psp')
containerCss: function() {return df.a.ccClean(', ', [mixin.containerCss.apply(this), 'withOptions'
/**
* 2017-09-21
* «Where to ask for a payment option?» (`magento` or `psp`).
* @see \Df\Payment\ConfigProvider::configOptions():
* 'needShowOptions' => Options::needShow($s)
* https://github.com/mage2pro/core/blob/2.12.14/Payment/ConfigProvider.php#L186-L187
*/
,'withOptions-' + (this.needShowOptions() ? 'magento' : 'psp')
/**
* 2017-09-21
* «The payment options display mode» (`images` or `text`).
* @see \Df\Payment\ConfigProvider::configOptions():
* 'optionsDisplayMode' => $s->v('optionsDisplayMode', null, DisplayMode::IMAGES)
* https://github.com/mage2pro/core/blob/2.12.14/Payment/ConfigProvider.php#L194-L201
*/
,'withOptions-displayMode-' + this.config('optionsDisplayMode')
]);},
defaults: {df: {
// 2017-03-02
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/core"
,"version": "2.12.14"
,"version": "2.12.15"
,"description": "Mage2.PRO core package."
,"type": "magento2-module"
,"homepage": "https://mage2.pro"
Expand Down

0 comments on commit b278263

Please sign in to comment.