Skip to content

fix browser detection for jQuery > 2.0 - #1246

Merged
dnschnur merged 3 commits into
flot:0.9-workfrom
bastjan:0.9-work
Feb 12, 2014
Merged

dnschnur merged 3 commits into
flot:0.9-workfrom
bastjan:0.9-work

Conversation

@bastjan

@bastjan bastjan commented Feb 11, 2014

Copy link
Copy Markdown

jQuery removed $.support.leadingWhitespace from jquery greater 2.0
because support was dropped for IE 7/8. So if property is undefined,
we are pretty shure its ie > 8 or jQuery does not support the browser
anyway.

jQuery removed $.support.leadingWhitespace from jquery greater 2.0
because support was dropped for IE 7/8. So if property is undefined,
we are pretty shure its ie > 8 or jQuery does not support the browser
anyway.
@dnschnur

Copy link
Copy Markdown
Member

Thanks for the patch! Could you just add a comment above that line to explain the assumption, please? I want to avoid someone coming along later and breaking the logic because they don't understand why it's there.

@dnschnur dnschnur added bug and removed triage labels Feb 12, 2014
@dnschnur dnschnur added this to the Release 0.9 milestone Feb 12, 2014
@dnschnur dnschnur self-assigned this Feb 12, 2014
@bastjan

bastjan commented Feb 12, 2014

Copy link
Copy Markdown
Author

Sure...

dnschnur added a commit that referenced this pull request Feb 12, 2014
Fix browser detection for jQuery > 2.0
@dnschnur
dnschnur merged commit 0b03106 into flot:0.9-work Feb 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants