public/ckeditor/4.4dev/core/dom/element.js
function( text ) {
			if ( this.$.text != null )
				this.$.text += text;
			else
				this.append( new CKEDITOR.dom.text( text ) );
		}
function( text ) {
			if ( this.$.text != null )
				this.$.text += text;
			else
				this.append( new CKEDITOR.dom.text( text ) );
		}
function ( text ) { if ( this . $ . text != null ) this . $ . text += text ; else this . append ( new CKEDITOR . dom . text ( text ) ) ; }
Append text to this element.

var p = new CKEDITOR.dom.element( 'p' );
p.appendText( 'This is' );
p.appendText( ' some text' );

// Result: '<p>This is some text</p>'

@param {String} text The text to be appended.
@returns {CKEDITOR.dom.node} The appended node.
Append text to this element .