Browse Source

Merge pull request #82 from RobinHerbots/dev

fix and comment out new 9 definition
Robin Herbots 13 years ago
parent
commit
542d8642f7
1 changed files with 14 additions and 16 deletions
  1. 14 16
      js/jquery.inputmask.numeric.extentions.js

+ 14 - 16
js/jquery.inputmask.numeric.extentions.js

@@ -3,27 +3,25 @@ Input Mask plugin extentions
 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: 1.0.3
+Version: 1.0.4
 
 Optional extentions on the jquery.inputmask base
 */
             (function($) {
                 //number aliases 
-                $.extend($.inputmask.defaults, {
-                    definitions: {
-                        '9': {
-                            validator: function(chrs, buffer, pos, strict, opts) {
-                                var isValid = opts.definitions['9'].regex.test(chrs);
-                                if (isValid) {
-                                    //do some grouping
-                                }
-                                return isValid;
-                            },
-                            cardinality: 1,
-                            regex: new RegExp("[0-9]")
-                        }
-                    }
-                });
+                //$.extend($.inputmask.defaults.definitions, {
+                //    '9': {
+                //        validator: function(chrs, buffer, pos, strict, opts) {
+                //            var isValid = opts.definitions['9'].regex.test(chrs);
+                //            if (isValid) {
+                                //do some grouping
+                //            }
+                //            return isValid;
+                //        },
+                //        cardinality: 1,
+                //        regex: new RegExp("[0-9]")
+                //    }                    
+                //});
                 $.extend($.inputmask.defaults.aliases, {
                     'decimal': {
                         mask: "~",