Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: qunit/tests/cssEscaping.js

Issue 29581937: Noissue - Use anonymous blocks instead of anonymous functions (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/
Patch Set: Created Oct. 18, 2017, 2:10 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ext/devtools.js ('k') | qunit/tests/filterValidation.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: qunit/tests/cssEscaping.js
===================================================================
--- a/qunit/tests/cssEscaping.js
+++ b/qunit/tests/cssEscaping.js
@@ -1,11 +1,10 @@
"use strict";
-(function()
{
const {Filter, ElemHideFilter} = require("filterClasses");
const {escapeCSS, quoteCSS} = require("filterComposer");
module("CSS escaping");
test("CSS escaping", () =>
{
@@ -94,9 +93,9 @@
// Leading dashes must be escaped, when followed by certain characters.
testEscape("-" + chr);
}
// Test some non-ASCII characters. However, those shouldn't
// require escaping.
testEscape("\uD83D\uDE3B\u2665\u00E4");
});
-}());
+}
« no previous file with comments | « ext/devtools.js ('k') | qunit/tests/filterValidation.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld