Steps to reproduce
Open http://jsfiddle.net/mjahomzu/3/
Select "cow & cat"
Actual Outcome
An exception is thrown, and the last rule is not evaluated.
Expected Outcome
No exception is thrown (treated as rule matched = false), and the last rule is evaluated.
Code snippet
var throwException = function(){ throw 'arrrgghh!'; }
var rules = [
['control1' , 'p_section'],
[throwException, 'hide' ],
['foobar' , 'show' ]
]
RulesEngine.build(rules, showHideFn, false).evaluate({'control1':'foobar'})
Steps to reproduce
Open http://jsfiddle.net/mjahomzu/3/
Select "cow & cat"
Actual Outcome
An exception is thrown, and the last rule is not evaluated.
Expected Outcome
No exception is thrown (treated as rule matched = false), and the last rule is evaluated.
Code snippet