diff --git a/pixi-js.html b/pixi-js.html index 371170f..2919282 100644 --- a/pixi-js.html +++ b/pixi-js.html @@ -37,7 +37,7 @@ // You can use either PIXI.WebGLRenderer or PIXI.CanvasRenderer var w = this.offsetWidth - 4, h = this.offsetHeight - 4; this.renderer = new PIXI.WebGLRenderer(w, h); - this.webkitShadowRoot.appendChild(this.renderer.view); + this.shadowRoot.appendChild(this.renderer.view); // this.texture = PIXI.Texture.fromImage("google_chrome.png"); },