ecj2 / momo

[NOT MAINTAINED / ABANDONED] A simple 2D game-making library written in JavaScript.
MIT License
1 stars 0 forks source link

Use the fetch API #26

Closed ecj2 closed 6 years ago

ecj2 commented 6 years ago

Use fetch instead of XMLHttpRequest in Momo.loadFont() and Momo.loadSample() once support for it becomes widespread.

ecj2 commented 6 years ago

According to this, fetch is already supported in all of the modern desktop browsers.