Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(options?: PixiAppOptions) {
if (!options) {
options = this.defaultOptions;
}
this.mediaInfoViewer = new MediaInfoViewer();
this.app = new PIXI.Application(options);
this.configure(options);
this.ticker.add(this.resize.bind(this));
this.appOptions = options;
}
function createApplication()
{
renderer = new PIXI.Application({ transparent: true, width: window.innerWidth, height: window.innerHeight, resolution: window.devicePixelRatio })
document.body.appendChild(renderer.view)
renderer.view.style.position = 'fixed'
renderer.view.style.width = '100vw'
renderer.view.style.height = '100vh'
renderer.view.style.top = 0
renderer.view.style.left = 0
renderer.view.style.background = 'rgba(0,0,0,.1)'
}
function setup()
{
renderer = new PIXI.Application({ transparent: true, resolution: window.devicePixelRatio, view: document.querySelector('.view') })
document.body.appendChild(renderer.view)
ease = new Ease.list()
}