aboutsummaryrefslogtreecommitdiff
path: root/exampleData/ruleSets
diff options
context:
space:
mode:
authorGravatar Benjamin Jones <bjones@galois.com>2012-11-12 17:40:07 -0800
committerGravatar Benjamin Jones <bjones@galois.com>2012-11-12 17:40:07 -0800
commite1f077504446cc5fd6b718fecdf57f4e40db82bd (patch)
treeb586941be17e4e900438edf72940544b815ca8fe /exampleData/ruleSets
parent8d904d263446fa6dfb36b6dfc16f1ebba3fc729b (diff)
wrapped call to fiveui.color.colorCheck in a function context
Diffstat (limited to 'exampleData/ruleSets')
-rw-r--r--exampleData/ruleSets/colorRulesRF.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/exampleData/ruleSets/colorRulesRF.json b/exampleData/ruleSets/colorRulesRF.json
index 1bd41a5..36ef0af 100644
--- a/exampleData/ruleSets/colorRulesRF.json
+++ b/exampleData/ruleSets/colorRulesRF.json
@@ -11,7 +11,10 @@
{ 'name': "Foregrounds"
, 'description': "Foreground colors should be in the set:"+
"'#0, #FFFFFF, #3D3D3D, #B4B4B4, #4E4E4E, #C2C2C2, #F7F7F7"
- , 'rule': fiveui.color.colorCheck(':visible', [ '#0', '#000000', '#FFFFFF', '#3D3D3D', '#B4B4B4', '#4E4E4E', '#C2C2C2', '#F7F7F7' ])
+ , 'rule': function () {
+ (fiveui.color.colorCheck(':visible', [ '#0', '#000000', '#FFFFFF', '#3D3D3D', '#B4B4B4', '#4E4E4E', '#C2C2C2', '#F7F7F7' ]))();
+ },
+ 'id': 1
}
]
}