Jake Bentvelzen
2938afd82a
ebitenutil: Fix OpenFile() so it works with wasm ( #674 )
...
Fixes #673
* Change to use `js.NewCallback`
* Use `uint8contentWrapper := js.Global().Get("Uint8Array").New(content)`, without this all the bytes in `data` stays zeroed. (TypedArray cannot use `set` on an ArrayBuffer)
2018-08-27 03:46:15 +09:00
Hajime Hoshi
8f12dfc496
Use js.TypedArray
...
This is still WIP. There is a rendering issue on Wasm.
2018-07-06 02:48:51 +09:00
Hajime Hoshi
6e51d31524
Use new GopherWasm API ( #634 )
...
I plan to merge this right after
https://github.com/gopherjs/gopherwasm/pull/3 is merged.
2018-06-30 00:02:15 +09:00
Hajime Hoshi
a9359e4ef8
Use GopherJS/GopherWasm
2018-06-24 16:10:24 +09:00
Hajime Hoshi
9b7f5f7273
ebitenutil: Use gopherwasm
2018-05-25 01:23:09 +09:00
Hajime Hoshi
80e4ee0998
ebitenutil: Remove JoinStringsIntoPath; Always use slash for ebitenutil.OpenFile
...
#428
2018-01-29 23:38:11 +09:00
Hajime Hoshi
10080d83e6
ebitentutil: Add JoinStringsIntoFilePath
...
Fixes #428
2017-12-16 23:29:35 +09:00
Hajime Hoshi
07968abfd6
ebitenutil: Add ReadSeekCloser and use this
2016-03-29 23:52:11 +09:00
Hajime Hoshi
13461aa455
ebitenutil: Add OpenFile
2016-03-07 01:42:01 +09:00