aboutsummaryrefslogtreecommitdiff
path: root/exampleData/ruleSets
diff options
context:
space:
mode:
authorGravatar Rogan Creswick <creswick@gmail.com>2012-04-23 13:22:17 -0700
committerGravatar Rogan Creswick <creswick@gmail.com>2012-04-23 13:22:17 -0700
commit2946c44b616baf39cb41943a9b1fa5328dc6f7d2 (patch)
tree8534491cfc3207ecf766ac94d189e86c58ec07e5 /exampleData/ruleSets
parent410c378b6ec4d1b2cd5076e58cc9e837c239f962 (diff)
fixed a bug in one of the example rule sets
Diffstat (limited to 'exampleData/ruleSets')
-rw-r--r--exampleData/ruleSets/simpleRuleSet1.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/exampleData/ruleSets/simpleRuleSet1.json b/exampleData/ruleSets/simpleRuleSet1.json
index c4f8240..6c5bccb 100644
--- a/exampleData/ruleSets/simpleRuleSet1.json
+++ b/exampleData/ruleSets/simpleRuleSet1.json
@@ -6,7 +6,7 @@
, "rule":
function() {
var badHeadings = $('h1').filter(function(idx) {
- var ch = $(this).text[0];
+ var ch = $(this).text()[0];
if (ch) {
return (ch == ch.toLowerCase() );
} else {