Skip to content

Commit

Permalink
1.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Oct 22, 2017
1 parent fa6db49 commit f42b5d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/phone"
,"version": "1.0.11"
,"version": "1.0.12"
,"description": "A telephone numbers handling library for my Magento 2 extensions."
,"type": "magento2-module"
,"homepage": "https://github.com/mage2pro/phone"
Expand Down
4 changes: 4 additions & 0 deletions lib/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ function df_phone_format($n, $throw = true, $f) {return df_phone_p()->format(df_

/**
* 2017-04-22 «+79629197300»
* 2017-10-22
* @see df.s.normalizePhone():
* https://github.com/mage2pro/core/blob/3.2.15/Core/view/base/web/my/string.js#L64-L72
* @used-by \Dfe\Stripe\Block\Multishipping::pPhone()
* @param string[]|OA|QA|CA $n
* @param bool $throw [optional]
* @return string
Expand Down
2 changes: 1 addition & 1 deletion view/base/web/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function(c) {ko.bindingHandlers['df-phone'] = {init: function(e, accessor) {var
// otherwise the initial value will be displayed without its country flag.
e.value = config.value;
// 2017-09-06 https://github.com/jackocnr/intl-tel-input/blob/v12.0.2/README.md
$e.intlTelInput(_.extend({
$e.intlTelInput(_.assign({
// 2017-09-06
// «Whether or not to allow the dropdown.
// If disabled, there is no dropdown arrow, and the selected flag is not clickable.
Expand Down

0 comments on commit f42b5d0

Please sign in to comment.