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

root.devicePixelRatio with CommonJS #238

Open
dangreen opened this issue Jun 3, 2016 · 1 comment
Open

root.devicePixelRatio with CommonJS #238

dangreen opened this issue Jun 3, 2016 · 1 comment
Labels

Comments

@dangreen
Copy link

dangreen commented Jun 3, 2016

var root = (typeof exports == 'undefined' ? window : exports);
...
root.devicePixelRatio
@jgnewman
Copy link
Collaborator

Great catch. We're going to be releasing version 2.0 very soon and this will be fixed in that release.

@strues strues added the legacy label Jun 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants