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

Repair detect regions #2091

Merged
merged 1 commit into from
Feb 21, 2017
Merged

Repair detect regions #2091

merged 1 commit into from
Feb 21, 2017

Conversation

Isthu
Copy link
Contributor

@Isthu Isthu commented Oct 4, 2016

Detect regions is broken badly. It invokes an undefined property
causing failure to run any detects. The cause is a missing
dependency.

Fixes this by including the missing dependency. Also updates the
references to the free variable style, the correct pattern
in the AMD module architecture.

Fixes #2079

Detect regions is broken badly. It references an undefined property
causing failure to run *any* detects. The cause is a missing
dependency.

Fixes this by including the missing dependency. Also updates the
references to the free variable style, the correct pattern
in the AMD module architecture.

Fixes Modernizr#2079
@Isthu
Copy link
Contributor Author

Isthu commented Oct 4, 2016

Test of a build with this fix installed. The detect is executed and the outcome is displayed:
http://codepen.io/Isthu/pen/rrYvkB

@ryanseddon ryanseddon merged commit 0b7167e into Modernizr:master Feb 21, 2017
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.

2 participants