mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-05 04:31:26 +08:00
commit
67a1f23b13
@ -73,7 +73,7 @@ It is recommended at this stage to read the comprehensive documentation at [http
|
|||||||
|
|
||||||
* Who is this project aimed at?
|
* Who is this project aimed at?
|
||||||
|
|
||||||
Go programmers who want to bundle an HMTL/JS/CSS frontend with their applications, without resorting to creating a server and opening a browser to view it.
|
Go programmers who want to bundle an HTML/JS/CSS frontend with their applications, without resorting to creating a server and opening a browser to view it.
|
||||||
|
|
||||||
* What's with the name?
|
* What's with the name?
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ func (a *AppConfig) merge(in *AppConfig) error {
|
|||||||
a.HTML = strings.TrimSpace(inlineHTML)
|
a.HTML = strings.TrimSpace(inlineHTML)
|
||||||
|
|
||||||
// Deduce whether this is a full html page or a fragment
|
// Deduce whether this is a full html page or a fragment
|
||||||
// The document is determined to be a fragment if an HMTL
|
// The document is determined to be a fragment if an HTML
|
||||||
// tag exists and is located before the first div tag
|
// tag exists and is located before the first div tag
|
||||||
HTMLTagIndex := strings.Index(a.HTML, "<html")
|
HTMLTagIndex := strings.Index(a.HTML, "<html")
|
||||||
DivTagIndex := strings.Index(a.HTML, "<div")
|
DivTagIndex := strings.Index(a.HTML, "<div")
|
||||||
|
Loading…
Reference in New Issue
Block a user