in src/main/jbake/assets/js/tree.jquery.js [2394:2408]
callFunction = function($el, function_name, args) {
var el, i, len, result, widget, widget_function;
result = null;
for (i = 0, len = $el.length; i < len; i++) {
el = $el[i];
widget = $.data(el, getDataKey());
if (widget && (widget instanceof SimpleWidget)) {
widget_function = widget[function_name];
if (widget_function && (typeof widget_function === 'function')) {
result = widget_function.apply(widget, args);
}
}
}
return result;
};