From e1f077504446cc5fd6b718fecdf57f4e40db82bd Mon Sep 17 00:00:00 2001 From: Benjamin Jones Date: Mon, 12 Nov 2012 17:40:07 -0800 Subject: wrapped call to fiveui.color.colorCheck in a function context --- exampleData/ruleSets/colorRulesRF.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'exampleData/ruleSets') 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 } ] } -- cgit v1.2.3