Skip to content

Commit

Permalink
refactoring (zserge#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
RikiyaFujii authored and zserge committed Nov 24, 2018
1 parent 1782770 commit 531737e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var defaultChromeArgs = []string{
// string - a temporary directory is created and it will be removed on
// ui.Close(). You might want to use "--headless" custom CLI argument to test
// your UI code.
func New(url string, dir string, width, height int, customArgs ...string) (UI, error) {
func New(url, dir string, width, height int, customArgs ...string) (UI, error) {
if url == "" {
url = "data:text/html,<html></html>"
}
Expand Down

0 comments on commit 531737e

Please sign in to comment.