diff options
Diffstat (limited to 'exampleData/ruleSets/colorRules/backgroundCheck.js')
-rw-r--r-- | exampleData/ruleSets/colorRules/backgroundCheck.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exampleData/ruleSets/colorRules/backgroundCheck.js b/exampleData/ruleSets/colorRules/backgroundCheck.js index 4ce7043..98df08c 100644 --- a/exampleData/ruleSets/colorRules/backgroundCheck.js +++ b/exampleData/ruleSets/colorRules/backgroundCheck.js @@ -8,11 +8,11 @@ exports.description = exports.rule = function() { var allow = '#00 #FF #3D #F7 #C2 #B4 #4E'.split(' '); - report("broken"); + this.report("broken"); $5(':visible') .cssIsNot('background-color', allow, fiveui.color.colorToHex) .each(function(i, elt) { var color = fiveui.color.colorToHex($(elt).css('background-color')); - report('non-standard background color: ' + color, $(elt)); + this.report('non-standard background color: ' + color, $(elt)); }); }; |