wp/wp-includes/js/zxcvbn-async.js
changeset 9 177826044cd9
parent 5 5e2f62d02dcd
--- a/wp/wp-includes/js/zxcvbn-async.js	Mon Oct 14 18:06:33 2019 +0200
+++ b/wp/wp-includes/js/zxcvbn-async.js	Mon Oct 14 18:28:13 2019 +0200
@@ -1,4 +1,16 @@
+/**
+ * @output wp-includes/js/zxcvbn-async.js
+ */
+
 /* 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;