Skip to content

Commit 7af355a

Browse files
committed
Release v3.0.3
1 parent 2a81ac3 commit 7af355a

File tree

7 files changed

+13
-9
lines changed

7 files changed

+13
-9
lines changed

CHANGES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# CHANGELOG
22

3-
## 3.0.3dev
3+
## 3.0.3
44

55
- Add Arabic localization.
66
- Add Norwegian localization.
7-
- Add new option ui.progressBarMinWidth to control the minimum width of the
7+
- Add new ui.progressBarMinWidth option to control the minimum width of the
88
progress bar.
99

1010
## 3.0.2

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pwstrength-bootstrap",
3-
"version": "3.0.2",
3+
"version": "3.0.3",
44
"homepage": "https://github.com/ablanco/jquery.pwstrength.bootstrap",
55
"authors": [
66
"Alejandro Blanco <[email protected]>"

dist/pwstrength-bootstrap.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* jQuery Password Strength plugin for Twitter Bootstrap
3-
* Version: 3.0.2
3+
* Version: 3.0.3
44
*
55
* Copyright (c) 2008-2013 Tane Piper
66
* Copyright (c) 2013 Alejandro Blanco
@@ -422,6 +422,7 @@ defaultOptions.ui.colorClasses = [
422422
];
423423
defaultOptions.ui.showProgressBar = true;
424424
defaultOptions.ui.progressBarEmptyPercentage = 1;
425+
defaultOptions.ui.progressBarMinWidth = 1;
425426
defaultOptions.ui.progressBarMinPercentage = 1;
426427
defaultOptions.ui.progressExtraCssClasses = '';
427428
defaultOptions.ui.progressBarExtraCssClasses = '';
@@ -629,6 +630,7 @@ var ui = {};
629630
} else {
630631
$bar.addClass("bg-" + options.ui.colorClasses[cssClass]);
631632
}
633+
$bar.css("min-width", options.ui.progressBarMinWidth + 'px');
632634
$bar.css("width", percentage + '%');
633635
};
634636

dist/pwstrength-bootstrap.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.

dist/pwstrength-bootstrap.min.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/pwstrength.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* jQuery Password Strength plugin for Twitter Bootstrap
3-
* Version: 3.0.2
3+
* Version: 3.0.3
44
*
55
* Copyright (c) 2008-2013 Tane Piper
66
* Copyright (c) 2013 Alejandro Blanco
@@ -422,6 +422,7 @@ defaultOptions.ui.colorClasses = [
422422
];
423423
defaultOptions.ui.showProgressBar = true;
424424
defaultOptions.ui.progressBarEmptyPercentage = 1;
425+
defaultOptions.ui.progressBarMinWidth = 1;
425426
defaultOptions.ui.progressBarMinPercentage = 1;
426427
defaultOptions.ui.progressExtraCssClasses = '';
427428
defaultOptions.ui.progressBarExtraCssClasses = '';
@@ -629,6 +630,7 @@ var ui = {};
629630
} else {
630631
$bar.addClass("bg-" + options.ui.colorClasses[cssClass]);
631632
}
633+
$bar.css("min-width", options.ui.progressBarMinWidth + 'px');
632634
$bar.css("width", percentage + '%');
633635
};
634636

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pwstrength-bootstrap",
3-
"version": "3.0.2",
3+
"version": "3.0.3",
44
"description": "jQuery plugin for Twitter Bootstrap that provides rulesets for visualy displaying the quality of a users typed in password.",
55
"author": "Alejandro Blanco <[email protected]>",
66
"homepage": "https://github.com/ablanco/jquery.pwstrength.bootstrap",

0 commit comments

Comments
 (0)