Skip to content

Commit d6addf5

Browse files
committed
maint(pat-inject): Replace deprecated jQuery.isFunction with native JavaScript call.
1 parent 8b5afe9 commit d6addf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pat/inject/inject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ const inject = {
11101110

11111111
async callTypeHandler(type, fn, context, params) {
11121112
type = type || "html";
1113-
if (this.handlers[type] && $.isFunction(this.handlers[type][fn])) {
1113+
if (this.handlers[type] && typeof this.handlers[type][fn] === "function") {
11141114
return await this.handlers[type][fn].bind(this)(...params);
11151115
} else {
11161116
return null;

0 commit comments

Comments
 (0)