From a9359e4ef8901f4f49c602ec5143cd2ee5bd60cd Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 24 Jun 2018 16:10:24 +0900 Subject: [PATCH] Use GopherJS/GopherWasm --- audio/mp3/decode_js.go | 2 +- audio/mp3/float32_notwasm.go | 2 +- ebitenutil/file_js.go | 2 +- examples/contextlost/main.go | 2 +- internal/clock/now_js.go | 2 +- internal/devicescale/impl_js.go | 2 +- internal/input/input_js.go | 2 +- internal/opengl/context_js.go | 2 +- internal/ui/ui_js.go | 2 +- internal/web/js.go | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/audio/mp3/decode_js.go b/audio/mp3/decode_js.go index 7a1076a10..d22a67672 100644 --- a/audio/mp3/decode_js.go +++ b/audio/mp3/decode_js.go @@ -24,8 +24,8 @@ import ( "math" "time" + "github.com/gopherjs/gopherwasm/js" "github.com/hajimehoshi/ebiten/audio" - "github.com/hajimehoshi/gopherwasm/js" ) // TODO: This just uses decodeAudioData, that can treat audio files other than MP3. diff --git a/audio/mp3/float32_notwasm.go b/audio/mp3/float32_notwasm.go index e897594d6..3ebdfa713 100644 --- a/audio/mp3/float32_notwasm.go +++ b/audio/mp3/float32_notwasm.go @@ -18,7 +18,7 @@ package mp3 import ( gjs "github.com/gopherjs/gopherjs/js" - "github.com/hajimehoshi/gopherwasm/js" + "github.com/gopherjs/gopherwasm/js" ) func float32ArrayToSlice(arr js.Value) []float32 { diff --git a/ebitenutil/file_js.go b/ebitenutil/file_js.go index 261fa4eb0..bdb0b04c9 100644 --- a/ebitenutil/file_js.go +++ b/ebitenutil/file_js.go @@ -21,7 +21,7 @@ import ( "errors" "fmt" - "github.com/hajimehoshi/gopherwasm/js" + "github.com/gopherjs/gopherwasm/js" ) type file struct { diff --git a/examples/contextlost/main.go b/examples/contextlost/main.go index 800e0bd7d..945ed79f1 100644 --- a/examples/contextlost/main.go +++ b/examples/contextlost/main.go @@ -24,7 +24,7 @@ import ( "log" "math" - "github.com/hajimehoshi/gopherwasm/js" + "github.com/gopherjs/gopherwasm/js" "github.com/hajimehoshi/ebiten" "github.com/hajimehoshi/ebiten/ebitenutil" diff --git a/internal/clock/now_js.go b/internal/clock/now_js.go index 56f878ac6..be95c995b 100644 --- a/internal/clock/now_js.go +++ b/internal/clock/now_js.go @@ -19,7 +19,7 @@ package clock import ( "time" - "github.com/hajimehoshi/gopherwasm/js" + "github.com/gopherjs/gopherwasm/js" ) func now() int64 { diff --git a/internal/devicescale/impl_js.go b/internal/devicescale/impl_js.go index 79693d0ad..c0566b2e8 100644 --- a/internal/devicescale/impl_js.go +++ b/internal/devicescale/impl_js.go @@ -17,7 +17,7 @@ package devicescale import ( - "github.com/hajimehoshi/gopherwasm/js" + "github.com/gopherjs/gopherwasm/js" ) func impl() float64 { diff --git a/internal/input/input_js.go b/internal/input/input_js.go index a085ab41f..3e2e1a15c 100644 --- a/internal/input/input_js.go +++ b/internal/input/input_js.go @@ -19,7 +19,7 @@ package input import ( "unicode" - "github.com/hajimehoshi/gopherwasm/js" + "github.com/gopherjs/gopherwasm/js" ) type mockRWLock struct{} diff --git a/internal/opengl/context_js.go b/internal/opengl/context_js.go index 4dd52cb16..01f2ee7b0 100644 --- a/internal/opengl/context_js.go +++ b/internal/opengl/context_js.go @@ -20,7 +20,7 @@ import ( "errors" "fmt" - "github.com/hajimehoshi/gopherwasm/js" + "github.com/gopherjs/gopherwasm/js" "github.com/hajimehoshi/ebiten/internal/web" ) diff --git a/internal/ui/ui_js.go b/internal/ui/ui_js.go index 4fa165357..3b6551a5d 100644 --- a/internal/ui/ui_js.go +++ b/internal/ui/ui_js.go @@ -20,7 +20,7 @@ import ( "image" "strconv" - "github.com/hajimehoshi/gopherwasm/js" + "github.com/gopherjs/gopherwasm/js" "github.com/hajimehoshi/ebiten/internal/devicescale" "github.com/hajimehoshi/ebiten/internal/hooks" diff --git a/internal/web/js.go b/internal/web/js.go index b82720638..b12edbcd1 100644 --- a/internal/web/js.go +++ b/internal/web/js.go @@ -20,7 +20,7 @@ import ( "strings" "sync" - "github.com/hajimehoshi/gopherwasm/js" + "github.com/gopherjs/gopherwasm/js" ) var (