aboutsummaryrefslogtreecommitdiff
path: root/exampleData/ruleSets/colorRules/foregroundCheck.js
diff options
context:
space:
mode:
Diffstat (limited to 'exampleData/ruleSets/colorRules/foregroundCheck.js')
-rw-r--r--exampleData/ruleSets/colorRules/foregroundCheck.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/exampleData/ruleSets/colorRules/foregroundCheck.js b/exampleData/ruleSets/colorRules/foregroundCheck.js
index 5b1e04b..2cf2b5f 100644
--- a/exampleData/ruleSets/colorRules/foregroundCheck.js
+++ b/exampleData/ruleSets/colorRules/foregroundCheck.js
@@ -11,6 +11,6 @@ exports.rule = function() {
.cssIsNot('color', allow, fiveui.color.colorToHex)
.each(function(i, elt) {
var color = fiveui.color.colorToHex($(elt).css('color'));
- report('foreground color: ' + color, elt);
+ this.report('foreground color: ' + color, elt);
});
};