`root.devicePixelRatio` with CommonJS
dangreen opened this issue · comments
var root = (typeof exports == 'undefined' ? window : exports);
...
root.devicePixelRatio
Great catch. We're going to be releasing version 2.0 very soon and this will be fixed in that release.