Docs: Improve JSDoc for zxcvbn-async.js.

Props manuelaugustin, igorsch, LisanneKluitmans.
Fixes 43948.


git-svn-id: https://develop.svn.wordpress.org/trunk@43333 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Anton Timmermans 2018-06-07 14:51:02 +00:00
parent a65ad8a247
commit 8a9bf2a08b

View File

@ -1,4 +1,11 @@
/* global _zxcvbnSettings */
/**
* Loads zxcvbn asynchronously by inserting an async script tag before the first
* script tag on the page.
*
* This makes sure zxcvbn isn't blocking loading the page as it is a big
* library. The source for zxcvbn is read from the _zxcvbnSettings global.
*/
(function() {
var async_load = function() {
var first, s;