WordPress.org

Make WordPress Core

Changeset 43333


Ignore:
Timestamp:
06/07/2018 02:51:02 PM (3 years ago)
Author:
atimmer
Message:

Docs: Improve JSDoc for zxcvbn-async.js.

Props manuelaugustin, igorsch, LisanneKluitmans.
Fixes 43948.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/lib/zxcvbn-async.js

    r43309 r43333  
    11/* global _zxcvbnSettings */
     2/**
     3 * Loads zxcvbn asynchronously by inserting an async script tag before the first
     4 * script tag on the page.
     5 *
     6 * This makes sure zxcvbn isn't blocking loading the page as it is a big
     7 * library. The source for zxcvbn is read from the _zxcvbnSettings global.
     8 */
    29(function() {
    310  var async_load = function() {
Note: See TracChangeset for help on using the changeset viewer.