Changeset 26199 for trunk/src/wp-admin/js/password-strength-meter.js
- Timestamp:
- 11/15/2013 05:11:10 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/js/password-strength-meter.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/password-strength-meter.js
r25839 r26199 1 /* global zxcvbn */ 1 2 window.wp = window.wp || {}; 2 3 … … 41 42 currentField = $( '#' + userInputFields[ i ] ); 42 43 43 if ( 0 == currentField.length ) {44 if ( 0 === currentField.length ) { 44 45 continue; 45 46 } … … 59 60 // Remove empty values, short words, and duplicates. Short words are likely to cause many false positives. 60 61 blacklist = $.grep( blacklist, function( value, key ) { 61 if ( '' == value || 4 > value.length ) {62 if ( '' === value || 4 > value.length ) { 62 63 return false; 63 64 } … … 68 69 return blacklist; 69 70 } 70 } 71 }; 71 72 72 73 // Backwards compatibility.
Note: See TracChangeset
for help on using the changeset viewer.