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

Removed $.browser to support jQuery 1.9 #41

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

joshlangner
Copy link

jQuery 1.9 removes $.browser. Some limited testing (IE 7-10, Safari 5, 6, Chrome 24, Firefox 18) suggests that this should be enough.

Allow jQuery 1.9 compatibility. $.browser also not needed since IE6/7/8 seem to be the only possible cases to not support it.
Allow jQuery 1.9 compatibility. $.browser also not needed since IE6/7/8 seem to be the only possible cases to not support it.
@joscha
Copy link

joscha commented Jan 16, 2013

are you sure this is a valid fix? now the code is always run when !supports_onhashchange is true whereas before it was only run when executed in IE.

@joscha
Copy link

joscha commented Jan 17, 2013

Its only checking for IE that is missing, right, so how about changing that code to:

(navigator.userAgent.match(/MSIE/i) !== null)

?

@joscha
Copy link

joscha commented Jan 17, 2013

I sent a pull onto your fork, if you want to add that to this pull.

Add the MSIE check back in (without dependency on $.browser)
@DerDu DerDu mentioned this pull request Mar 11, 2013
@Nickproger
Copy link

What about IE9 and IE10? Will they handled properly?

@nuwandharshana
Copy link

works with Firefox 58.0.2 (32-bit)

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

Successfully merging this pull request may close these issues.

4 participants