Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
prototype.tooltipHandler = function(_) {
var h = this._handler;
if (!arguments.length) {
return h.handleTooltip;
} else {
h.handleTooltip = _ || Handler.prototype.handleTooltip;
return this;
}
};