pixi.js 6.2.1 → 6.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -36,7 +36,7 @@ const app = new PIXI.Application();
36
36
  document.body.appendChild(app.view);
37
37
 
38
38
  // load the texture we need
39
- PIXI.loader.add('bunny', 'bunny.png').load((loader, resources) => {
39
+ app.loader.add('bunny', 'bunny.png').load((loader, resources) => {
40
40
 
41
41
  // This creates a texture from a 'bunny.png' image.
42
42
  const bunny = new PIXI.Sprite(resources.bunny.texture);