Skip to content

Commit 7427e6c

Browse files
author
Alexander Makeev
committed
Merge branch 'MAGETWO-48285' of github.corp.magento.com:magento-mpi/magento2ce into PR-MPI-S76
2 parents fe4959c + 3ea5e91 commit 7427e6c

File tree

1 file changed

+6
-0
lines changed
  • app/code/Magento/Vault/view/frontend/web/js/view/payment

1 file changed

+6
-0
lines changed

app/code/Magento/Vault/view/frontend/web/js/view/payment/vault.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ define(
2323
type: index,
2424
config: config.config,
2525
component: config.component,
26+
/**
27+
* Custom payment method types comparator
28+
* @param {String} typeA
29+
* @param {String} typeB
30+
* @returns {boolean}
31+
*/
2632
typeComparatorCallback: function (typeA, typeB) {
2733
return typeA.indexOf(typeB) === 0;
2834
}

0 commit comments

Comments
 (0)