Skip to content

Commit

Permalink
Release v3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ablanco committed Feb 23, 2019
1 parent 2a81ac3 commit 7af355a
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# CHANGELOG

## 3.0.3dev
## 3.0.3

- Add Arabic localization.
- Add Norwegian localization.
- Add new option ui.progressBarMinWidth to control the minimum width of the
- Add new ui.progressBarMinWidth option to control the minimum width of the
progress bar.

## 3.0.2
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": "pwstrength-bootstrap",
"version": "3.0.2",
"version": "3.0.3",
"homepage": "https://github.com/ablanco/jquery.pwstrength.bootstrap",
"authors": [
"Alejandro Blanco <[email protected]>"
Expand Down
4 changes: 3 additions & 1 deletion dist/pwstrength-bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* jQuery Password Strength plugin for Twitter Bootstrap
* Version: 3.0.2
* Version: 3.0.3
*
* Copyright (c) 2008-2013 Tane Piper
* Copyright (c) 2013 Alejandro Blanco
Expand Down Expand Up @@ -422,6 +422,7 @@ defaultOptions.ui.colorClasses = [
];
defaultOptions.ui.showProgressBar = true;
defaultOptions.ui.progressBarEmptyPercentage = 1;
defaultOptions.ui.progressBarMinWidth = 1;
defaultOptions.ui.progressBarMinPercentage = 1;
defaultOptions.ui.progressExtraCssClasses = '';
defaultOptions.ui.progressBarExtraCssClasses = '';
Expand Down Expand Up @@ -629,6 +630,7 @@ var ui = {};
} else {
$bar.addClass("bg-" + options.ui.colorClasses[cssClass]);
}
$bar.css("min-width", options.ui.progressBarMinWidth + 'px');
$bar.css("width", percentage + '%');
};

Expand Down
4 changes: 2 additions & 2 deletions dist/pwstrength-bootstrap.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/pwstrength-bootstrap.min.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion examples/pwstrength.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* jQuery Password Strength plugin for Twitter Bootstrap
* Version: 3.0.2
* Version: 3.0.3
*
* Copyright (c) 2008-2013 Tane Piper
* Copyright (c) 2013 Alejandro Blanco
Expand Down Expand Up @@ -422,6 +422,7 @@ defaultOptions.ui.colorClasses = [
];
defaultOptions.ui.showProgressBar = true;
defaultOptions.ui.progressBarEmptyPercentage = 1;
defaultOptions.ui.progressBarMinWidth = 1;
defaultOptions.ui.progressBarMinPercentage = 1;
defaultOptions.ui.progressExtraCssClasses = '';
defaultOptions.ui.progressBarExtraCssClasses = '';
Expand Down Expand Up @@ -629,6 +630,7 @@ var ui = {};
} else {
$bar.addClass("bg-" + options.ui.colorClasses[cssClass]);
}
$bar.css("min-width", options.ui.progressBarMinWidth + 'px');
$bar.css("width", percentage + '%');
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pwstrength-bootstrap",
"version": "3.0.2",
"version": "3.0.3",
"description": "jQuery plugin for Twitter Bootstrap that provides rulesets for visualy displaying the quality of a users typed in password.",
"author": "Alejandro Blanco <[email protected]>",
"homepage": "https://github.com/ablanco/jquery.pwstrength.bootstrap",
Expand Down

0 comments on commit 7af355a

Please sign in to comment.