Robin Herbots 12 年 前
コミット
481507acb0

+ 1 - 1
build.properties

@@ -7,7 +7,7 @@ distdir = dist
 
 build.major = 2
 build.minor = 3
-build.revision = 65
+build.revision = 66
 
 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.65",
+    "version": "2.3.66",
     "main": "./dist/jquery.inputmask.bundle.js",
     "dependencies": {
         "jquery": ">=1.7"

BIN
dist/jQuery.InputMask.2.3.66.nupkg


+ 9 - 12
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.65
+* Version: 2.3.66
 */
 
 (function ($) {
@@ -1022,12 +1022,9 @@
                             $el.change();
                         }
                     }).bind('reset', function () {
-                        $.each(masksets, function (ndx, ms) {
-                            if (typeof (ms) == "object") {
-                                ms["buffer"] = ms["_buffer"].slice();
-                                ms["lastValidPosition"] = -1;
-                            }
-                        });
+                        setTimeout(function() {
+                            $el.trigger("setvalue");
+                        }, 0);
                     });
                     $el.bind("mouseenter.inputmask", function () {
                         var $input = $(this), input = this;
@@ -1638,7 +1635,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.65
+Version: 2.3.66
 
 Optional extensions on the jquery.inputmask base
 */
@@ -1740,7 +1737,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.65
+Version: 2.3.66
 
 Optional extensions on the jquery.inputmask base
 */
@@ -2224,7 +2221,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.65
+Version: 2.3.66
 
 Optional extensions on the jquery.inputmask base
 */
@@ -2401,7 +2398,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.65
+Version: 2.3.66
 
 Regex extensions on the jquery.inputmask base
 Allows for using regular expressions as a mask
@@ -2571,7 +2568,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.65
+Version: 2.3.66
 
 Phone extension.
 When using this extension make sure you specify the correct url to get the masks

ファイルの差分が大きいため隠しています
+ 74 - 74
dist/jquery.inputmask.bundle.min.js


ファイルの差分が大きいため隠しています
+ 45 - 45
dist/min/jquery.inputmask.js


+ 1 - 1
jquery.inputmask.jquery.json

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

+ 3 - 6
js/jquery.inputmask.js

@@ -1022,12 +1022,9 @@
                             $el.change();
                         }
                     }).bind('reset', function () {
-                        $.each(masksets, function (ndx, ms) {
-                            if (typeof (ms) == "object") {
-                                ms["buffer"] = ms["_buffer"].slice();
-                                ms["lastValidPosition"] = -1;
-                            }
-                        });
+                        setTimeout(function() {
+                            $el.trigger("setvalue");
+                        }, 0);
                     });
                     $el.bind("mouseenter.inputmask", function () {
                         var $input = $(this), input = this;