summaryrefslogtreecommitdiffstatshomepage
path: root/src/js/_enqueues/lib/zxcvbn-async.js
diff options
context:
space:
mode:
authorAnton Timmermans <atimmer@git.wordpress.org>2018-06-15 10:18:44 +0000
committerAnton Timmermans <atimmer@git.wordpress.org>2018-06-15 10:18:44 +0000
commit78f2b0e73157a2b62ba947793d9488accfdd78c0 (patch)
tree892d41b85a1d05fd6ddcc438df3be0041966b703 /src/js/_enqueues/lib/zxcvbn-async.js
parente32886cbdfc4a0f42412d28ee2d4dfabe73f019e (diff)
downloadwordpress-78f2b0e73157a2b62ba947793d9488accfdd78c0.tar.gz
wordpress-78f2b0e73157a2b62ba947793d9488accfdd78c0.zip
Docs: Add file doc `@output` annotations.
These annotations make it clear to the reader of a JavaScript source where the build process outputs to. These annotations can later be integrated in a webpack configuration. This way there is one source of truth. The `build` folder is omitted from the paths, because a single JS file shouldn't not be responsible of knowing where outputs in general will end up at. A file only knows its output location relative to the project. Props adamsilverstein, herregroen, omarreiss, pento. Fixes #44361. git-svn-id: https://develop.svn.wordpress.org/trunk@43347 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'src/js/_enqueues/lib/zxcvbn-async.js')
-rw-r--r--src/js/_enqueues/lib/zxcvbn-async.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/js/_enqueues/lib/zxcvbn-async.js b/src/js/_enqueues/lib/zxcvbn-async.js
index 2ddbb4be83..114cb5a0d6 100644
--- a/src/js/_enqueues/lib/zxcvbn-async.js
+++ b/src/js/_enqueues/lib/zxcvbn-async.js
@@ -1,4 +1,9 @@
+/**
+ * @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.