aboutsummaryrefslogtreecommitdiff
path: root/exampleData/ruleSets/trac/colors.json
diff options
context:
space:
mode:
Diffstat (limited to 'exampleData/ruleSets/trac/colors.json')
-rw-r--r--exampleData/ruleSets/trac/colors.json20
1 files changed, 10 insertions, 10 deletions
diff --git a/exampleData/ruleSets/trac/colors.json b/exampleData/ruleSets/trac/colors.json
index 2e6a2cc..41b1be5 100644
--- a/exampleData/ruleSets/trac/colors.json
+++ b/exampleData/ruleSets/trac/colors.json
@@ -12,16 +12,16 @@
, 'description': "Foreground colors should be in a certain fixed set."
, 'rule':
function () {
- var allow = "rgb(0, 0, 0) " +
- "rgb(255, 255, 255) " +
- "rgb(85, 85, 85) " +
- "rgb(34, 34, 34) " +
- "rgb(187, 0, 0) " +
- "rgb(238, 238, 238) " +
- "rgb(153, 153, 136) " +
- "rgb(136, 136, 136) " +
- "rgb(102, 102, 102) " +
- "rgb(187, 187, 187)".split(" ");
+ var allow = "rgb(0, 0, 0);" +
+ "rgb(255, 255, 255);" +
+ "rgb(85, 85, 85);" +
+ "rgb(34, 34, 34);" +
+ "rgb(187, 0, 0);" +
+ "rgb(238, 238, 238);" +
+ "rgb(153, 153, 136);" +
+ "rgb(136, 136, 136);" +
+ "rgb(102, 102, 102);" +
+ "rgb(187, 187, 187)".split(";");
$5(":visible")
.cssIsNot("color", allow, fiveui.color.colorToHex)
.each(function (i, elt) {