Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Aug 11, 2017
1 parent ac20861 commit dd56d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createImageData.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function supportsImageData () {
}

function createImageDataSimple (width, height) {
return new ImageData(width, height)
return new window.ImageData(width, height)
}

function createImageDataCanvas (canvas, width, height) {
Expand Down

0 comments on commit dd56d51

Please sign in to comment.