120 line width, package upgrade
This commit is contained in:
@ -113,7 +113,8 @@ export function unbindListeners() {
|
||||
}
|
||||
|
||||
// Run method when / if player is ready
|
||||
export function ready () {
|
||||
return new Promise(resolve => this.ready ? setTimeout(resolve, 0) : on.call(this, this.elements.container, 'ready', resolve))
|
||||
.then(() => {});
|
||||
export function ready() {
|
||||
return new Promise(
|
||||
resolve => (this.ready ? setTimeout(resolve, 0) : on.call(this, this.elements.container, 'ready', resolve)),
|
||||
).then(() => {});
|
||||
}
|
||||
|
Reference in New Issue
Block a user