vue update

This commit is contained in:
bkfox
2022-03-18 03:45:13 +01:00
parent adb10c3d95
commit 789808e815
24 changed files with 8902 additions and 6514 deletions

View File

@ -32,16 +32,20 @@ window.aircox = {
/**
* Initialize main application and player.
*/
init(props=null, {config=null, builder=null, initPlayer=true, hotReload=false}={}) {
builder = builder || this.builder
this.builder = builder
if(config || window.App)
builder.config = config || window.App
builder.title = document.title
builder.mount({props})
init(props=null, {config=null, builder=null, initBuilder=true,
initPlayer=true, hotReload=false}={})
{
if(initBuilder) {
builder = builder || this.builder
this.builder = builder
if(config || window.App)
builder.config = config || window.App
builder.title = document.title
builder.mount({props})
if(hotReload)
builder.enableHotReload(hotReload)
if(hotReload)
builder.enableHotReload(hotReload)
}
if(initPlayer) {
let playerBuilder = this.playerBuilder