Skip to content

jQuery 4.0 Compatibility #1024

Description

@odivit

There are several compatibility issues in jQuery-QueryBuilder after upgrading to jQuery 4.0. Specifically, the following APIs have been removed:

$.isArray
$.isFunction
$.trim

Suggested replacements:

$.isArray = Array.isArray;
$.isFunction = (v) => typeof v === 'function';
$.trim = (v) => v == null ? '' : String.prototype.trim.call(v);

Please update the codebase to use these (or equivalent) replacements so that jQuery-QueryBuilder is fully compatible with jQuery 4.0.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions