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

implemented device type determination using smallest-width qualifier #23

Merged
merged 1 commit into from
Mar 22, 2015

Conversation

denich
Copy link
Contributor

@denich denich commented Mar 9, 2015

Implemented android approach to handle multiple screen sizes.
Fixed density independent width calculation.
Resolves #22

hgoebl added a commit that referenced this pull request Mar 22, 2015
implemented device type determination using smallest-width qualifier
@hgoebl hgoebl merged commit 8c53eb2 into hgoebl:master Mar 22, 2015
hgoebl added a commit that referenced this pull request Mar 22, 2015
    - use Mobile-Detect@2.8.12
    - breaking change: phone() and tablet() won't return 'UnknownMobile' -> have to check mobile() as well (issue #20)
    - breaking change: fallback detection phone/tablet is now based on smaller screen side (issue #23)
    - expose internal implementation in case somebody wants to quick fix or monkey-patch the behaviour
    - add demo page for gh-pages
    - tweak jshint
hgoebl added a commit that referenced this pull request Mar 22, 2015
    - use Mobile-Detect@2.8.12
    - breaking change: phone() and tablet() won't return 'UnknownMobile' -> have to check mobile() as well (issue #20)
    - breaking change: fallback detection phone/tablet is now based on smaller screen side (issue #23)
    - expose internal implementation in case somebody wants to quick fix or monkey-patch the behaviour
    - add demo page for gh-pages
    - tweak jshint
@denich denich deleted the screen-size-detect branch March 23, 2015 11:54
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.

Mobile type determining by screen width works incorrectly
2 participants