From 8c37025abd02fc09f8a297fd5bd140e0ece392e2 Mon Sep 17 00:00:00 2001 From: Matthew Date: Mon, 4 Dec 2017 17:54:36 +0700 Subject: [PATCH] fix render --- internal/vdom/inputs/vdom.go | 4 ++-- vdom/vdom.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/vdom/inputs/vdom.go b/internal/vdom/inputs/vdom.go index 93975210..6c3a1d68 100644 --- a/internal/vdom/inputs/vdom.go +++ b/internal/vdom/inputs/vdom.go @@ -1,7 +1,7 @@ package vdom import ( - "github.com/matthewmueller/golly/dom/document" + "github.com/matthewmueller/joy/dom/window" "github.com/matthewmueller/joy/macro" ) @@ -45,7 +45,7 @@ type Node interface { } // Render the component -func Render(component Child, parent document.Node, merge document.Node) { +func Render(component Child, parent window.Node, merge window.Node) { macro.Rewrite("$1.render($2, $3, $4)", File(), component, parent, merge) } diff --git a/vdom/vdom.go b/vdom/vdom.go index 93975210..6c3a1d68 100644 --- a/vdom/vdom.go +++ b/vdom/vdom.go @@ -1,7 +1,7 @@ package vdom import ( - "github.com/matthewmueller/golly/dom/document" + "github.com/matthewmueller/joy/dom/window" "github.com/matthewmueller/joy/macro" ) @@ -45,7 +45,7 @@ type Node interface { } // Render the component -func Render(component Child, parent document.Node, merge document.Node) { +func Render(component Child, parent window.Node, merge window.Node) { macro.Rewrite("$1.render($2, $3, $4)", File(), component, parent, merge) }