/**
 *  @provides dom-html
 *  @requires function-extensions
 */

/**
 *  This explicitly marks a string as an HTML string, for use by DOM.* methods.
 *  Usage:
 *
 *    DOM.setContent(element, HTML('<big>!</big>'));
 *
 *  @author epriestley
 */
function /* class */ HTML(content) {
  if (this === window) {
    return new HTML(content);
  }
  this.content = content;
  return this;
}

copy_properties(HTML.prototype, {
  toString : function() {
    return this.content;
  }
});