source/libs/Core/JavaScript/core.js
//TODO: move to System.Delegate as snippet

move to System.Delegate as snippet
move to System . Delegate as snippet
function $invokeDelegate(d, a, ret) {
	if (d.m_prev != null) {
		$invokeDelegate(d.m_prev, a, ret);
	}
	var val = d.m_function(d.m_target, a);
	return ret ? val : undefined;
}
function $invokeDelegate ( d , a , ret ) { if ( d . m_prev != null ) { $invokeDelegate ( d . m_prev , a , ret ) ; } var val = d . m_function ( d . m_target , a ) ; return ret ? val : undefined ; }
TODO: move to System.Delegate as snippet
TODO : move to System . Delegate as snippet