mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 05:08:54 -07:00
Fix Packr deprecation errors
Improved comments
This commit is contained in:
@@ -10,7 +10,7 @@ func init() {
|
||||
assets := packr.NewBox("./bootstrap4default/assets")
|
||||
FrameworkToUse = &Framework{
|
||||
Name: "Bootstrap 4",
|
||||
JS: assets.String("bootstrap.bundle.min.js"),
|
||||
CSS: assets.String("bootstrap.min.css"),
|
||||
JS: BoxString(&assets, "bootstrap.bundle.min.js"),
|
||||
CSS: BoxString(&assets, "bootstrap.min.css"),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ func init() {
|
||||
assets := packr.NewBox("./assets")
|
||||
frameworks.FrameworkToUse = &frameworks.Framework{
|
||||
Name: "Bootstrap 4",
|
||||
JS: assets.String("bootstrap.bundle.min.js"),
|
||||
CSS: assets.String("bootstrap.min.css"),
|
||||
JS: BoxString(&assets, "bootstrap.bundle.min.js"),
|
||||
CSS: BoxString(&assets, "bootstrap.min.css"),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ func init() {
|
||||
assets := packr.NewBox("./bootstrap4lux/assets")
|
||||
FrameworkToUse = &Framework{
|
||||
Name: "Bootstrap 4 (Lux)",
|
||||
JS: assets.String("bootstrap.bundle.min.js"),
|
||||
CSS: assets.String("bootstrap.min.css"),
|
||||
JS: BoxString(&assets, "bootstrap.bundle.min.js"),
|
||||
CSS: BoxString(&assets, "bootstrap.min.css"),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ func init() {
|
||||
assets := packr.NewBox("./assets")
|
||||
frameworks.FrameworkToUse = &frameworks.Framework{
|
||||
Name: "Bootstrap 4 (Lux)",
|
||||
JS: assets.String("bootstrap.bundle.min.js"),
|
||||
CSS: assets.String("bootstrap.min.css"),
|
||||
JS: BoxString(&assets, "bootstrap.bundle.min.js"),
|
||||
CSS: BoxString(&assets, "bootstrap.min.css"),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,8 +13,8 @@ func main() {
|
||||
Width: 1024,
|
||||
Height: 768,
|
||||
Title: "{{.Name}}",
|
||||
JS: assets.String("app.js"),
|
||||
CSS: assets.String("app.css"),
|
||||
JS: BoxString(&assets, "app.js"),
|
||||
CSS: BoxString(&assets, "app.css"),
|
||||
})
|
||||
app.Bind(newQuotesCollection())
|
||||
app.Run()
|
||||
|
||||
Reference in New Issue
Block a user