Skip to content

Commit a830299

Browse files
author
Igor Escobar
committed
generating jquery mask files v1.14.13
1 parent fb667bb commit a830299

File tree

7 files changed

+13
-14
lines changed

7 files changed

+13
-14
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery-mask-plugin",
3-
"version": "1.14.12",
3+
"version": "1.14.13",
44
"main": "dist/jquery.mask.js",
55
"ignore": [
66
"deploy.rb",

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jQuery-Mask-Plugin",
33
"description": "A jQuery Plugin to make masks on form fields and HTML elements.",
4-
"version": "1.14.12",
4+
"version": "1.14.13",
55
"keywords": ["javascript", "mask", "form"],
66
"scripts": [
77
"dist/jquery.mask.js"

dist/jquery.mask.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/**
22
* jquery.mask.js
3-
* @version: v1.14.12
3+
* @version: v1.14.13
44
* @author: Igor Escobar
55
*
6-
* Created by Igor Escobar on 2012-03-10. Please report any bug at http://blog.igorescobar.com
6+
* Created by Igor Escobar on 2012-03-10. Please report any bug at github.com/igorescobar/jQuery-Mask-Plugin
77
*
8-
* Copyright (c) 2012 Igor Escobar http://blog.igorescobar.com
8+
* Copyright (c) 2012 Igor Escobar http://igorescobar.com
99
*
1010
* The MIT License (http://www.opensource.org/licenses/mit-license.php)
1111
*
@@ -35,10 +35,8 @@
3535
/* jshint maxcomplexity:17 */
3636
/* global define */
3737

38-
'use strict';
39-
4038
// UMD (Universal Module Definition) patterns for JavaScript modules that work everywhere.
41-
// https://github.com/umdjs/umd/blob/master/jqueryPluginCommonjs.js
39+
// https://github.com/umdjs/umd/blob/master/templates/jqueryPlugin.js
4240
(function (factory, jQuery, Zepto) {
4341

4442
if (typeof define === 'function' && define.amd) {
@@ -50,6 +48,7 @@
5048
}
5149

5250
}(function ($) {
51+
'use strict';
5352

5453
var Mask = function (el, mask, options) {
5554

@@ -309,7 +308,7 @@
309308
if (translation.recursive) {
310309
if (resetPos === -1) {
311310
resetPos = m;
312-
} else if (m === lastMaskChar) {
311+
} else if (m === lastMaskChar && m !== resetPos) {
313312
m = resetPos - offset;
314313
}
315314

dist/jquery.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.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package.describe({
22
"name": "igorescobar:jquery-mask-plugin",
3-
"version": "1.14.12",
3+
"version": "1.14.13",
44
"summary": "A jQuery Plugin to make masks on form fields and HTML elements.",
55
"git": "git@github.com:igorescobar/jQuery-Mask-Plugin.git",
66
"documentation": "README.md"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery-mask-plugin",
3-
"version": "1.14.12",
3+
"version": "1.14.13",
44
"description": "A jQuery Plugin to make masks on form fields and html elements.",
55
"author": "Igor Escobar <blog@igorescobar.com>",
66
"homepage": "http://igorescobar.github.io/jQuery-Mask-Plugin/",

src/jquery.mask.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* jquery.mask.js
3-
* @version: v1.14.12
3+
* @version: v1.14.13
44
* @author: Igor Escobar
55
*
66
* Created by Igor Escobar on 2012-03-10. Please report any bug at github.com/igorescobar/jQuery-Mask-Plugin

0 commit comments

Comments
 (0)