Skip to content

Commit ea2b2f1

Browse files
committed
Release v2,1,3
1 parent ba76049 commit ea2b2f1

File tree

7 files changed

+11
-12
lines changed

7 files changed

+11
-12
lines changed

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CHANGELOG
22

3-
## 2.1.3dev
3+
## 2.1.3
44

55
- Bugfix, call `onScore` when zxcvbn is in use too.
66

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": "2.1.3dev",
3+
"version": "2.1.3",
44
"homepage": "https://github.com/ablanco/jquery.pwstrength.bootstrap",
55
"authors": [
66
"Alejandro Blanco <alejandro.b.e@gmail.com>"

dist/pwstrength-bootstrap.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* jQuery Password Strength plugin for Twitter Bootstrap
3-
* Version: 2.1.2
3+
* Version: 2.1.3
44
*
55
* Copyright (c) 2008-2013 Tane Piper
66
* Copyright (c) 2013 Alejandro Blanco
@@ -225,10 +225,6 @@ try {
225225
}
226226
});
227227

228-
if ($.isFunction(options.common.onScore)) {
229-
totalScore = options.common.onScore(options, word, totalScore);
230-
}
231-
232228
return totalScore;
233229
};
234230
}(jQuery, rulesEngine));
@@ -713,6 +709,9 @@ var methods = {};
713709
} else {
714710
score = rulesEngine.executeRules(options, word);
715711
}
712+
if ($.isFunction(options.common.onScore)) {
713+
score = options.common.onScore(options, word, score);
714+
}
716715
}
717716
ui.updateUI(options, $el, score);
718717
verdictText = ui.getVerdictAndCssClass(options, score);

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: 1 addition & 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: 2.1.3dev
3+
* Version: 2.1.3
44
*
55
* Copyright (c) 2008-2013 Tane Piper
66
* Copyright (c) 2013 Alejandro Blanco

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": "2.1.3dev",
3+
"version": "2.1.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 <alejandro.b.e@gmail.com>",
66
"homepage": "https://github.com/ablanco/jquery.pwstrength.bootstrap",

0 commit comments

Comments
 (0)