summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/comment/js/comment-by-viewer.js
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2015-06-05 13:17:55 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2015-06-05 13:17:55 -0700
commitc3cb303173edc41c7d3549735e57eeb4d4e56a59 (patch)
tree3b26c61f7c5949cadf3bf39b825688200a20a4f8 /core/modules/comment/js/comment-by-viewer.js
parent4fb37aa1ff320831d5cf6d0f08dd510da56efdbd (diff)
downloaddrupal-c3cb303173edc41c7d3549735e57eeb4d4e56a59.tar.gz
drupal-c3cb303173edc41c7d3549735e57eeb4d4e56a59.zip
Issue #2493691 by nod_, eiriksm, dawehner: Add JSDoc for core modules JS
Diffstat (limited to 'core/modules/comment/js/comment-by-viewer.js')
-rw-r--r--core/modules/comment/js/comment-by-viewer.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/modules/comment/js/comment-by-viewer.js b/core/modules/comment/js/comment-by-viewer.js
index 0abea0db3b3..4f597e0eff2 100644
--- a/core/modules/comment/js/comment-by-viewer.js
+++ b/core/modules/comment/js/comment-by-viewer.js
@@ -1,12 +1,16 @@
/**
+ * @file
* Attaches behaviors for the Comment module's "by-viewer" class.
*/
+
(function ($, Drupal, drupalSettings) {
"use strict";
/**
* Add 'by-viewer' class to comments written by the current user.
+ *
+ * @type {Drupal~behavior}
*/
Drupal.behaviors.commentByViewer = {
attach: function (context) {