Skip to content

Commit

Permalink
fix render
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewmueller committed Dec 4, 2017
1 parent 202866f commit 8c37025
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions internal/vdom/inputs/vdom.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package vdom

import (
"github.com/matthewmueller/golly/dom/document"
"github.com/matthewmueller/joy/dom/window"
"github.com/matthewmueller/joy/macro"
)

Expand Down Expand Up @@ -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)
}

Expand Down
4 changes: 2 additions & 2 deletions vdom/vdom.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package vdom

import (
"github.com/matthewmueller/golly/dom/document"
"github.com/matthewmueller/joy/dom/window"
"github.com/matthewmueller/joy/macro"
)

Expand Down Expand Up @@ -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)
}

Expand Down

0 comments on commit 8c37025

Please sign in to comment.