Update Text.js

hi guys, I have noticed a bug in the Pixi Text.js. Or I might just using it wrong.

The problem is, that after you change the content of your text object like..

var text = new PIXI.Text("Loading", {font:"12px Arial", fill:"#000000"});
stage.addChild(text);

[...]

text.setText("Ready!");

The text.width does not update. The same thing will happen when you just update the style. 

The fix to that would be to put the this.updateText(); function into setStyle as well as into setText with a helper var. You guys might have a btter solution to that, however with that var, the text container will always update when you change the style and/or change the text and you can still choose not to update the container by saying:

text.setText("Ready!", false);