tinymce.full.js
function (name) {
        return this.each(function () {
          if (typeof name == 'object') {
            Event.fire(this, name.type, name);
          } else {
            Event.fire(this, name);
          }
        });
      }
function (name) {
        return this.each(function () {
          if (typeof name == 'object') {
            Event.fire(this, name.type, name);
          } else {
            Event.fire(this, name);
          }
        });
      }
function ( name ) { return this . each ( function ( ) { if ( typeof name == 'object' ) { Event . fire ( this , name . type , name ) ; } else { Event . fire ( this , name ) ; } } ) ; }
Triggers the specified event by name or event object.

@method trigger
@param {String/Object} name Name of the event to trigger or event object.
@return {tinymce.dom.DomQuery} Current set.
Triggers the specified event by name or event object .