1
0
mirror of https://github.com/glitch-soc/mastodon.git synced 2025-01-27 01:52:55 -05:00

1 Commits

Author SHA1 Message Date
Yamagishi Kazutoshi
0758b00bfd Refactor resizeImage method ()
- Use URL.createObjectURL (replace from FileReader)
- Use HTMLCanvasElement.prototype.toBlob
  (replace from HTMLCanvasElement.prototype.toDataURL)
- Use Promise (replace callback interface)
2018-04-23 09:15:51 +02:00