dist/melonjs.js
function setText(value) {
         value = "" + value;

         if (this._text !== value) {
           if (Array.isArray(value)) {
             this._text = value.join("\n");
           } else {
             this._text = value;
           }

           this.isDirty = true;
         }

         return this;
       }
function setText(value) {
         value = "" + value;

         if (this._text !== value) {
           if (Array.isArray(value)) {
             this._text = value.join("\n");
           } else {
             this._text = value;
           }

           this.isDirty = true;
         }

         return this;
       }
function setText ( value ) { value = "" + value ; if ( this . _text !== value ) { if ( Array . isArray ( value ) ) { this . _text = value . join ( "\n" ) ; } else { this . _text = value ; } this . isDirty = true ; } return this ; }
change the text to be displayed
@name setText
@memberOf me.Text.prototype
@function
@param {Number|String|String[]} value a string, or an array of strings
@return this object for chaining
change the text to be displayed