Skip to content

Commit

Permalink
refactor numeric extentions
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinHerbots committed Mar 16, 2017
1 parent b2aea88 commit 86b37b2
Show file tree
Hide file tree
Showing 52 changed files with 735 additions and 890 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@
*.zip binary
*.7z binary
*.ttf binary

!k4E3n2s1E1n2d3m4E!
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
- initialization

### Fixed
- Casing lower/upper as extend aliases? #1529
- This line of code returns an unexpected value when unmasking as number #1527
- Phone Mask Cursor Issue on Chrome on some Androids.. #1490
- min value issue fix #1177
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ Hook to alter the clear behavior in the stripValidPositions<br>Args => maskset,
Hook to postValidate the result from isValid. Usefull for validating the entry as a whole. Args => buffer, currentResult, opts<br>Return => true|false|command object

### preValidation
Hook to preValidate the input. Useful for validating regardless the definition. Args => buffer, pos, char, opts => return true/false/command object
Hook to preValidate the input. Useful for validating regardless the definition. Args => buffer, pos, char, isSelection, opts => return true/false/command object
When return true, the normal validation kicks in, otherwise it is skipped.

### staticDefinitionSymbol
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery.inputmask",
"version": "3.3.5-58",
"version": "3.3.5-144",
"main": [
"./dist/inputmask/inputmask.js",
"./dist/inputmask/inputmask.extensions.js",
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jquery_inputmask",
"repository": "robinherbots/jquery.inputmask",
"description": "jquery.inputmask is a jquery plugin which create an input mask.",
"version": "3.3.5-58",
"version": "3.3.5-144",
"keywords": [
"jquery",
"plugins",
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "robinherbots/jquery.inputmask",
"description": "jquery.inputmask is a jquery plugin which create an input mask.",
"version": "3.3.5-58",
"version": "3.3.5-144",
"type": "library",
"keywords": ["jquery", "plugins", "input", "form", "inputmask", "mask"],
"homepage": "http://robinherbots.github.io/jquery.inputmask",
Expand Down
2 changes: 1 addition & 1 deletion dist/inputmask/bindings/inputmask.binding.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.5-49
* Version: 3.3.5-144
*/
!function(factory) {
"function" == typeof define && define.amd ? define([ "jquery", "../inputmask", "../global/document" ], factory) : "object" == typeof exports ? module.exports = factory(require("jquery"), require("../inputmask"), require("../global/document")) : factory(jQuery, window.Inputmask, document);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.5-49
* Version: 3.3.5-144
*/
!function(factory) {
"function" == typeof define && define.amd ? define([ "jqlite", "../global/window", "../global/document]" ], factory) : "object" == typeof exports ? module.exports = factory(require("jqlite"), require("../global/window"), require("../global/document")) : factory(jqlite, window, document);
"function" == typeof define && define.amd ? define([ "jqlite", "../global/window", "../global/document]" ], factory) : "object" == typeof exports ? module.exports = factory(require("jqlite"), require("../global/window"), require("../global/document")) : window.dependencyLib = factory(jqlite, window, document);
}(function($, window, document) {
function indexOf(list, elem) {
for (var i = 0, len = list.length; i < len; i++) if (list[i] === elem) return i;
Expand Down Expand Up @@ -60,5 +60,5 @@
var evt = document.createEvent("CustomEvent");
return evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail),
evt;
}, $.Event.prototype = window.Event.prototype, window.dependencyLib = $, $;
}, $.Event.prototype = window.Event.prototype, $;
});
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.5-49
* Version: 3.3.5-144
*/
!function(factory) {
"function" == typeof define && define.amd ? define([ "jquery", "../global/window" ], factory) : "object" == typeof exports ? module.exports = factory(require("jquery"), require("../global/window")) : factory(jQuery, window);
}(function($, window) {
return window.dependencyLib = $, $;
"function" == typeof define && define.amd ? define([ "jquery" ], factory) : "object" == typeof exports ? module.exports = factory(require("jquery")) : window.dependencyLib = factory(jQuery);
}(function($) {
return $;
});
7 changes: 3 additions & 4 deletions dist/inputmask/dependencyLibs/inputmask.dependencyLib.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.5-49
* Version: 3.3.5-144
*/
!function(factory) {
"function" == typeof define && define.amd ? define([ "../global/window", "../global/document" ], factory) : "object" == typeof exports ? module.exports = factory(require("../global/window"), require("../global/document")) : factory(window, document);
"function" == typeof define && define.amd ? define([ "../global/window", "../global/document" ], factory) : "object" == typeof exports ? module.exports = factory(require("../global/window"), require("../global/document")) : window.dependencyLib = factory(window, document);
}(function(window, document) {
function indexOf(list, elem) {
for (var i = 0, len = list.length; i < len; i++) if (list[i] === elem) return i;
Expand Down Expand Up @@ -140,6 +140,5 @@
var evt = document.createEvent("CustomEvent");
return evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail),
evt;
}, DependencyLib.Event.prototype = window.Event.prototype, window.dependencyLib = DependencyLib,
DependencyLib;
}, DependencyLib.Event.prototype = window.Event.prototype, DependencyLib;
});
2 changes: 1 addition & 1 deletion dist/inputmask/global/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.5-49
* Version: 3.3.5-144
*/
"function" == typeof define && define.amd ? define(function() {
return document;
Expand Down
2 changes: 1 addition & 1 deletion dist/inputmask/global/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.5-49
* Version: 3.3.5-144
*/
"function" == typeof define && define.amd ? define(function() {
return window;
Expand Down
6 changes: 1 addition & 5 deletions dist/inputmask/inputmask.date.extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
<<<<<<< HEAD
* Version: 3.3.5-49
=======
* Version: 3.3.5-34
>>>>>>> refs/remotes/origin/3.x
* Version: 3.3.5-144
*/
!function(factory) {
"function" == typeof define && define.amd ? define([ "./dependencyLibs/inputmask.dependencyLib", "./inputmask" ], factory) : "object" == typeof exports ? module.exports = factory(require("./dependencyLibs/inputmask.dependencyLib"), require("./inputmask")) : factory(window.dependencyLib || jQuery, window.Inputmask);
Expand Down
12 changes: 0 additions & 12 deletions dist/inputmask/inputmask.dependencyLib.js

This file was deleted.

6 changes: 1 addition & 5 deletions dist/inputmask/inputmask.extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
* https://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
<<<<<<< HEAD
* Version: 3.3.5-49
=======
* Version: 3.3.5-34
>>>>>>> refs/remotes/origin/3.x
* Version: 3.3.5-144
*/
!function(factory) {
"function" == typeof define && define.amd ? define([ "./dependencyLibs/inputmask.dependencyLib", "./inputmask" ], factory) : "object" == typeof exports ? module.exports = factory(require("./dependencyLibs/inputmask.dependencyLib"), require("./inputmask")) : factory(window.dependencyLib || jQuery, window.Inputmask);
Expand Down
Loading

0 comments on commit 86b37b2

Please sign in to comment.