Robin Herbots 12 years ago
parent
commit
db6ab6b4f6

+ 1 - 1
build.properties

@@ -7,7 +7,7 @@ distdir = dist
 
 build.major = 2
 build.minor = 3
-build.revision = 64
+build.revision = 65
 
 target = jquery.inputmask.bundle.js
 target.min = jquery.inputmask.bundle.min.js

+ 1 - 1
component.json

@@ -1,6 +1,6 @@
 {
     "name": "jquery.inputmask",
-    "version": "2.3.64",
+    "version": "2.3.65",
     "main": "./dist/jquery.inputmask.bundle.js",
     "dependencies": {
         "jquery": ">=1.7"

BIN
dist/jQuery.InputMask.2.3.64.nupkg


BIN
dist/jQuery.InputMask.2.3.65.nupkg


+ 8 - 7
dist/jquery.inputmask.bundle.js

@@ -3,7 +3,7 @@
 * http://github.com/RobinHerbots/jquery.inputmask
 * Copyright (c) 2010 - 2013 Robin Herbots
 * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-* Version: 2.3.64
+* Version: 2.3.65
 */
 
 (function ($) {
@@ -503,7 +503,7 @@
                     });
                 } else generateMask("", opts.mask.toString());
 
-                //analyseMask(opts.mask);
+                analyseMask(opts.mask);
 
                 return opts.greedy ? ms : ms.sort(function (a, b) { return a["mask"].length - b["mask"].length; });
             }
@@ -888,6 +888,7 @@
                             return;
                         }
                         end = (typeof end == 'number') ? end : begin;
+                        npt.scrollLeft = npt.scrollWidth;
                         if (opts.insertMode == false && begin == end) end++; //set visualization for insert/overwrite mode
                         if (npt.setSelectionRange) {
                             npt.selectionStart = begin;
@@ -1637,7 +1638,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2013 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 2.3.64
+Version: 2.3.65
 
 Optional extensions on the jquery.inputmask base
 */
@@ -1739,7 +1740,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2012 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 2.3.64
+Version: 2.3.65
 
 Optional extensions on the jquery.inputmask base
 */
@@ -2223,7 +2224,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2013 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 2.3.64
+Version: 2.3.65
 
 Optional extensions on the jquery.inputmask base
 */
@@ -2400,7 +2401,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2013 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 2.3.64
+Version: 2.3.65
 
 Regex extensions on the jquery.inputmask base
 Allows for using regular expressions as a mask
@@ -2570,7 +2571,7 @@ Input Mask plugin extensions
 http://github.com/RobinHerbots/jquery.inputmask
 Copyright (c) 2010 - 2013 Robin Herbots
 Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
-Version: 2.3.64
+Version: 2.3.65
 
 Phone extension.
 When using this extension make sure you specify the correct url to get the masks

File diff suppressed because it is too large
+ 74 - 73
dist/jquery.inputmask.bundle.min.js


File diff suppressed because it is too large
+ 47 - 46
dist/min/jquery.inputmask.js


+ 1 - 1
jquery.inputmask.jquery.json

@@ -8,7 +8,7 @@
 		"inputmask",
 		"mask"
     ],
-    "version": "2.3.64",
+    "version": "2.3.65",
     "author": {
         "name": "Robin Herbots",
         "url": "http://github.com/RobinHerbots/jquery.inputmask"

+ 2 - 1
js/jquery.inputmask.js

@@ -503,7 +503,7 @@
                     });
                 } else generateMask("", opts.mask.toString());
 
-                //analyseMask(opts.mask);
+                analyseMask(opts.mask);
 
                 return opts.greedy ? ms : ms.sort(function (a, b) { return a["mask"].length - b["mask"].length; });
             }
@@ -888,6 +888,7 @@
                             return;
                         }
                         end = (typeof end == 'number') ? end : begin;
+                        npt.scrollLeft = npt.scrollWidth;
                         if (opts.insertMode == false && begin == end) end++; //set visualization for insert/overwrite mode
                         if (npt.setSelectionRange) {
                             npt.selectionStart = begin;