SOURCE CODE: Uize.Widgets.VisualSampler.Html (view docs)

Uize.module ({
  name:'Uize.Widgets.VisualSampler.Html',
  builder:function () {
    'use strict';

    return Uize.package ({
      process:function (i) {
        function _cssClass (_class) {return m.cssClass (_class)}
        function _childHtml (_properties) {return m.childHtml (_properties)}
        var
          m = this,
          i = arguments [0],
          _idPrefix = i.idPrefix,
          _fragment0 = '" class="'
        ;
        return (
          '<div id="' + _idPrefix + _fragment0 + i['mCssBindings_rootNodeClasses'] + '">\r\n  <div class="' + _cssClass ('contents') + '">\r\n    <div id="' + _idPrefix + '-heading' + _fragment0 + _cssClass ('heading') + '">' + i['heading'] + '</div>\r\n    <div id="' + _idPrefix + '-body' + _fragment0 + _cssClass ('body') + '">' + _childHtml ({name:'samples'}) + '</div>\r\n  </div>\r\n</div>\r\n'
        );

      }
    });
  }
});