Closed inliquid closed 4 years ago
Thanks for starting this work, @inliquid. I've finally had a chance to review.
This looks good and is functional, but I think we should make the following changes:
dom.go
and events.go
to dom_go113.go
and events_go113.go
, make the new 1.14+ files be dom.go
and events.go
since they're more important.@dmitshur I renamed files as you suggested, however, the proposed switch/case
construction will not work because Equal
returns bool
:
Thanks for doing that. Sorry, I missed the notification for this earlier.
I'm quite sure the switch/case construction works, perhaps there was some issue when you tried it. Please see the commit I pushed.
Thank you, I didn't notice that there is nothing after ;
in initialization statement of switch
. Looks a little bit magical and I would prefer if/else
as they seem more natural, but anyways...
Fixes #74 /cc @dmitshur