Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

AngularJS and jQuery <1.7.1 #7300

@iPirat

Description

@iPirat

Hi,

AngularJS doesnt work with jQuery <1.7.1 (which is documented at https://docs.angularjs.org/misc/faq)

The problem is, that AngularJS fails to work if an old jQuery Version is used.
would you please alter the bindJQuery function to do the jQuery check as follows:

      // reset to jQuery (only if it features the on function) or default to us.
      if (jQuery && typeof(jQuery.fn.on)==='function') {

this way, falling back to jqLite in case of a too-old jQuery version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions