Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit f20fa82

Browse files
1.8.6
1 parent bbbb1df commit f20fa82

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

dist/mask.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* angular-ui-mask
33
* https://github.com/angular-ui/ui-mask
4-
* Version: 1.8.5 - 2016-06-10T16:53:59.510Z
4+
* Version: 1.8.6 - 2016-06-20T21:05:48.730Z
55
* License: MIT
66
*/
77

@@ -717,6 +717,9 @@ angular.module('ui.mask', [])
717717
if (input.selectionStart !== undefined) {
718718
return (input.selectionEnd - input.selectionStart);
719719
}
720+
if (window.getSelection) {
721+
return (window.getSelection().toString().length);
722+
}
720723
if (document.selection) {
721724
return (document.selection.createRange().text.length);
722725
}

dist/mask.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-ui-mask",
3-
"version": "1.8.5",
3+
"version": "1.8.6",
44
"author": "https://github.com/angular-ui/ui-mask/graphs/contributors",
55
"license": "MIT",
66
"homepage": "https://github.com/angular-ui/ui-mask",

0 commit comments

Comments
 (0)