tinymce.full.js
function (elm) {
        var name;

        if (elm && this.doc && typeof elm == 'string') {
          name = elm;
          elm = this.doc.getElementById(elm);

          // IE and Opera returns meta elements when they match the specified input ID, but getElementsByName seems to do the trick
          if (elm && elm.id !== name) {
            return this.doc.getElementsByName(name)[1];
          }
        }

        return elm;
      }
function (elm) {
        var name;

        if (elm && this.doc && typeof elm == 'string') {
          name = elm;
          elm = this.doc.getElementById(elm);

          // IE and Opera returns meta elements when they match the specified input ID, but getElementsByName seems to do the trick
          if (elm && elm.id !== name) {
            return this.doc.getElementsByName(name)[1];
          }
        }

        return elm;
      }
function ( elm ) { var name ; if ( elm && this . doc && typeof elm == 'string' ) { name = elm ; elm = this . doc . getElementById ( elm ) ; // IE and Opera returns meta elements when they match the specified input ID, but getElementsByName seems to do the trick if ( elm && elm . id !== name ) { return this . doc . getElementsByName ( name ) [ 1 ] ; } } return elm ; }
Returns the specified element by ID or the input element if it isn't a string.

@method get
@param {String/Element} n Element id to look for or element to just pass though.
@return {Element} Element matching the specified id or null if it wasn't found.
Returns the specified element by ID or the input element if it isn t a string .