examples/vendor/xui-2.3.2.js
function wrap(xhtml, tag) {
  var e = document.createElement('div');
  e.innerHTML = xhtml;
  return e;
}
function wrap(xhtml, tag) {
  var e = document.createElement('div');
  e.innerHTML = xhtml;
  return e;
}
function wrap ( xhtml , tag ) { var e = document . createElement ( 'div' ) ; e . innerHTML = xhtml ; return e ; }
private method Wraps the HTML in a TAG, Tag is optional If the html starts with a Tag, it will wrap the context in that tag.
private method Wraps the HTML in a TAG Tag is optional If the html starts with a Tag it will wrap the context in that tag .