Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jQuery v3.1.1 Compatibility issue SOLVED #46

Open
jh-thank-you opened this issue Nov 21, 2016 · 0 comments
Open

jQuery v3.1.1 Compatibility issue SOLVED #46

jh-thank-you opened this issue Nov 21, 2016 · 0 comments

Comments

@jh-thank-you
Copy link

jh-thank-you commented Nov 21, 2016

I know djax is old and more thank likely not being supported but for what it is worth, for any other newbie out there like me, this seems to be working fine with the latest jQuery v3.1.1 with a small change.

You will need to change ".error" to ".fail" on line 212 (two hundred twelve) of the jquery.djax.js file. If you don't the console will give an error, stating that "Unexpected Token... .error is not a function..."

For some reason the jQuery Migration Plugin does not seem to be working for me... but reading through the warnings list I was able to figure out how to solve the issue.

Taken from the jQuery Migration Guide found at
https://github.com/jquery/jquery-migrate/blob/master/warnings.md

To Beezee - Thank you!! for creating and sharing this. Also, if you have advice that I should use another solution I'm all ears... I looked into PJAX, DDJAX, TurboLinks, AngularJS (too much for my needs) etc. - djax seemed the easiest to implement. If there is a more current fork/branch of this please advise. Thanks in Advance for any help or guidance you may provide.

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

No branches or pull requests

1 participant