summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/comment/js
diff options
context:
space:
mode:
authorAlex Pott <alex.a.pott@googlemail.com>2015-10-13 23:37:56 +0100
committerAlex Pott <alex.a.pott@googlemail.com>2015-10-13 23:37:56 +0100
commitb0e82e58712d4ab71450e8119d44564c96435da1 (patch)
tree02d3545e8ee6f3425b32f835e2e6d13a7972192a /core/modules/comment/js
parent26d5a5fcd762b98959fefb276b972c9d1d662fa3 (diff)
downloaddrupal-b0e82e58712d4ab71450e8119d44564c96435da1.tar.gz
drupal-b0e82e58712d4ab71450e8119d44564c96435da1.zip
Issue #2548195 by nod_, JohnAlbin, madhavvyas, sriharsha.uppuluri: Only use single quotes in JavaScript and update .eslintrc
Diffstat (limited to 'core/modules/comment/js')
-rw-r--r--core/modules/comment/js/comment-by-viewer.js2
-rw-r--r--core/modules/comment/js/comment-new-indicator.js2
-rw-r--r--core/modules/comment/js/node-new-comments-link.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/core/modules/comment/js/comment-by-viewer.js b/core/modules/comment/js/comment-by-viewer.js
index 4f597e0eff2..22d4b54561e 100644
--- a/core/modules/comment/js/comment-by-viewer.js
+++ b/core/modules/comment/js/comment-by-viewer.js
@@ -5,7 +5,7 @@
(function ($, Drupal, drupalSettings) {
- "use strict";
+ 'use strict';
/**
* Add 'by-viewer' class to comments written by the current user.
diff --git a/core/modules/comment/js/comment-new-indicator.js b/core/modules/comment/js/comment-new-indicator.js
index d426c0d22c8..d5f0a4f45c8 100644
--- a/core/modules/comment/js/comment-new-indicator.js
+++ b/core/modules/comment/js/comment-new-indicator.js
@@ -8,7 +8,7 @@
(function ($, Drupal, window) {
- "use strict";
+ 'use strict';
/**
* Renders "new" comment indicators wherever necessary.
diff --git a/core/modules/comment/js/node-new-comments-link.js b/core/modules/comment/js/node-new-comments-link.js
index de757ecc0a8..54506d95c44 100644
--- a/core/modules/comment/js/node-new-comments-link.js
+++ b/core/modules/comment/js/node-new-comments-link.js
@@ -8,7 +8,7 @@
(function ($, Drupal) {
- "use strict";
+ 'use strict';
/**
* Render "X new comments" links wherever necessary.