code: function (name, value) {
          var self = this;
  
          name = propFix[name] || name;
  
          if (typeof name === "object") {
            each(name, function (name, value) {
              self.prop(name, value);
            });
          } else if (isDefined(value)) {
            this.each(function () {
              if (this.nodeType == 1) {
                this[name] = value;
              }
            });
          } else {
            if (self[0] && self[0].nodeType && name in self[0]) {
              return self[0][name];
            }
  
            return value;
          }
  
          return self;
        }
docs: Sets/gets properties on the elements in the current set.
  
  @method attr
  @param {String/Object} name Name of property to get or an object with properties to set.
  @param {String} value Optional value to set.
  @return {tinymce.dom.DomQuery/String} Current set or the specified property when only the name is specified.