code: function( meta ){
              if (!this.meta.loaded){
                  // define the font styles here
                  this.meta.fps = new PIXI.Text('FPS: ' + meta.fps.toFixed(2), fontStyles);
                  this.meta.fps.position.x = 15;
                  this.meta.fps.position.y = 5;
  
                  this.meta.ipf = new PIXI.Text('IPF: ' + meta.ipf, fontStyles);
                  this.meta.ipf.position.x = 15;
                  this.meta.ipf.position.y = 30;
  
                  this.stage.addChild(this.meta.fps);
                  this.stage.addChild(this.meta.ipf);
                  this.meta.loaded = true;
              } else {
                  this.meta.fps.setText('FPS: ' + meta.fps.toFixed(2));
                  this.meta.ipf.setText('IPF: ' + meta.ipf);
              }
          }
docs: extended