From e656b607f6275376116a7ea757bfb4bf32fe2436 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 10 Jan 2015 01:02:26 +0900 Subject: [PATCH] Add TODO comment --- internal/ui/ui_js.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/ui/ui_js.go b/internal/ui/ui_js.go index c85c35274..aac58dc2f 100644 --- a/internal/ui/ui_js.go +++ b/internal/ui/ui_js.go @@ -62,6 +62,8 @@ func SwapBuffers() { } func init() { + // TODO: Implement this with node-webgl mainly for testing. + doc := js.Global.Get("document") if doc.Get("body") == nil { ch := make(chan struct{})