[wp-trac] [WordPress Trac] #25088: password-strength-meter.js should have unit tests

WordPress Trac noreply at wordpress.org
Fri Aug 30 14:27:43 UTC 2013


#25088: password-strength-meter.js should have unit tests
----------------------------+-----------------------
 Reporter:  jorbin          |       Owner:
     Type:  task (blessed)  |      Status:  reopened
 Priority:  normal          |   Milestone:  3.7
Component:  Unit Tests      |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+-----------------------

Comment (by nacin):

 It seems that jQuery uses `});`, not `} );`, and that seems to be very
 common for jQuery-like code (including our JS), so we should probably
 continue to do that.

 Our (and jQuery) style also appears to be `i++`, not `++i`. There is a
 space added after a `+` at the end of the diff, but not before it. (Look
 for `'+`.) Looks good otherwise!

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25088#comment:31>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list