Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Added viewport support and defered execution on gopherjs serve #860
<script defer src="`+base+`.js"></script>`
Then I opened #571 to discuss the situation and look for a good solution that didn't compromise on the no-flash goal.
It seems this PR is a duplicate of #570, except it also adds a viewport and whitespace.
Sorry I didn't see it earlier @hajimehoshi.
Yes, I think so. The problems with this approach are already known, so it's not necessary to wait to discover them. It's hard to find a good default index.html that will work for everyone needs, so I think it's fair to supply a minimal one. Projects can always provide their own custom index.html if they need to override some behavior.
No problem, I'm glad you're taking action and following up on it!