Skip to content

Commit

Permalink
Editorial: rewrite createImageBitmap()
Browse files Browse the repository at this point in the history
This puts shared steps outside the switch, creates a variable for the new ImageBitmap object and promise, no longer does "return, but continue", and fixes various other minor nits.
  • Loading branch information
annevk authored Jan 24, 2018
1 parent b2fc1c1 commit 5b40420
Showing 1 changed file with 191 additions and 230 deletions.
Loading

0 comments on commit 5b40420

Please sign in to comment.