Skip to content
This repository was archived by the owner on Jun 3, 2022. It is now read-only.

Commit cbd38e8

Browse files
authored
Merge pull request #27 from razzie/master
Fixed js build errors
2 parents bf6c92a + f927eda commit cbd38e8

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

date_js.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
package dlgs
44

55
import (
6-
//"github.com/gopherjs/gopherjs/js"
6+
"time"
77
)
88

99
// Date displays a calendar dialog, returning the date and a bool for success.
1010
func Date(title, text string, defaultDate time.Time) (time.Time, bool, error) {
11-
return nil, false, ErrNotImplemented
11+
return time.Time{}, false, ErrNotImplemented
1212
}

password_js.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
package dlgs
44

5-
import (
6-
"github.com/gopherjs/gopherjs/js"
7-
)
8-
95
// Password displays a dialog, returning the entered value and a bool for success.
106
func Password(title, text string) (out string, ret bool, err error) {
117
return Entry(title, text, "")

0 commit comments

Comments
 (0)