code: function(name, value) {
  
  		var result = '';
  
  		if (value === true) {
  
  			result = ' ' + name + '="' + name + '"';
  
  		} else if (value != null && value !== false) {
  
  			result = ' ' + name + '="' + this.escapeAttributeValue(value + '') + '"';
  
  		}
  
  		return result;
  
  	}
docs: Render one attribute
  @param {string} name
  @param {boolean|null|string} value
  @returns {string}