Skip to content

improve Atoms.device #9

Description

@Kikobeats

At this moment I'm working in MacOSX with chrome and atoms doesn't detect anything.

Atoms.device return:

Object {os: undefined, width: 1280, height: 424, screen: "small"}

note also that it detects the browser as small. wtf.

but is possible to know this information with navigator.appVersion:

"5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.104 Safari/537.36"

link related: http://stackoverflow.com/a/11219680/1656676

Another thing is that can be useful a function like isMobile() that return a simple boolean (for example, to use tap or click event)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions