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

AngularJS and jQuery <1.7.1 #7300

Closed
iPirat opened this issue Apr 29, 2014 · 2 comments
Closed

AngularJS and jQuery <1.7.1 #7300

iPirat opened this issue Apr 29, 2014 · 2 comments

Comments

@iPirat
Copy link

iPirat commented Apr 29, 2014

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

@iPirat
Copy link
Author

iPirat commented May 3, 2014

Hi,

is there any way I can "vote" the issue up to get included at least in the next stable release?

it makes it compatible with jQuery <1.7.1 by only changing a single line of code (the line is in my original submission) -- and the line is absolutely readable and understandable.

Sorry I am not familiar with git, so I cant provide a pull request. But I dont think this is really necessary for a one-line-fix

@mgol
Copy link
Member

mgol commented May 12, 2014

Duplicate of #6376.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants