thomasdavis / backbonetutorials

As single page apps and large scale javascript applications become more prominent on the web, useful resources for those developers who are jumping the ship are crucial.

Home Page:http://backbonetutorials.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Depreciated jquery

Gregory-Phillips opened this issue · comments

Great tut, I have been taking some time working through the video and at 31 min the addition of the New User button is completed. When you reload the page the console log reads:
'''
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
'''
In the tut, the jQuery that is used is this one.

<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.2/jquery.min.js" type="text/javascript"></script>

I loaded:

//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js

and the issue is resolved.

Hope that this helps someone else that is following along. And keep up the exceptional work.