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

Remove some no-op code in webgl.js #2318

Merged
merged 1 commit into from May 31, 2018
Merged

Remove some no-op code in webgl.js #2318

merged 1 commit into from May 31, 2018

Conversation

annevk
Copy link
Contributor

@annevk annevk commented May 28, 2018

Fixes #2300.

Modernizr.addTest('webgl', function() {
var canvas = createElement('canvas');
var supports = 'probablySupportsContext' in canvas ? 'probablySupportsContext' : 'supportsContext';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is supportsConext also removed or why did you delete it too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was the original name of the feature, so yes, it's also removed: whatwg/html@2542a12.

@rejas rejas merged commit 59c57ec into Modernizr:master May 31, 2018
@annevk annevk deleted the patch-1 branch May 31, 2018 13:01
@rejas rejas added this to the Modernizr v3.7 milestone Oct 28, 2018
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.

None yet

2 participants