Skip to content

Commit

Permalink
Update install tag
Browse files Browse the repository at this point in the history
  • Loading branch information
raub committed Aug 29, 2020
1 parent 82b8b02 commit 4a0be07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions js/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ class Document extends Window {
get style() {
const that = this;
return {
get width() { return that.width; },
set width(v) { that.width = parseInt(v); },
get height() { return that.height; },
set height(v) { that.height = parseInt(v); },
get width() { return that.innerWidth; },
set width(v) { that.width = parseInt(v) * that.devicePixelRatio; },
get height() { return that.innetHeight; },
set height(v) { that.height = parseInt(v) * that.devicePixelRatio; },
};
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"npm": ">=6.12.0"
},
"config": {
"install": "v4.4.0"
"install": "v4.5.0"
},
"scripts": {
"postinstall": "node install"
Expand Down

0 comments on commit 4a0be07

Please sign in to comment.