plugin/src/js/EstimoteBeacons.js
function helper_updateTriggerRule(trigger, event)
{
	var rule = trigger.ruleTable[event.ruleIdentifier];
	if (rule && rule.ruleUpdateFunction)
	{
		rule.ruleUpdateFunction(rule, event.nearable, event);
		helper_updateRuleState(
			event.triggerIdentifier,
			event.ruleIdentifier,
			rule.state);
	}
}
function helper_updateTriggerRule(trigger, event)
{
	var rule = trigger.ruleTable[event.ruleIdentifier];
	if (rule && rule.ruleUpdateFunction)
	{
		rule.ruleUpdateFunction(rule, event.nearable, event);
		helper_updateRuleState(
			event.triggerIdentifier,
			event.ruleIdentifier,
			rule.state);
	}
}
function helper_updateTriggerRule ( trigger , event ) { var rule = trigger . ruleTable [ event . ruleIdentifier ] ; if ( rule && rule . ruleUpdateFunction ) { rule . ruleUpdateFunction ( rule , event . nearable , event ) ; helper_updateRuleState ( event . triggerIdentifier , event . ruleIdentifier , rule . state ) ; } }
Helper function that calls the update function of the rule
related to the event and then updates the native rule state.
@private
Helper function that calls the update function of the rule related to the event and then updates the native rule state .