SOURCE CODE: Uize.Widgets.Tools.SourceVsResult.Html (view docs)

Uize.module ({
  name:'Uize.Widgets.Tools.SourceVsResult.Html',
  required:[
    'Uize.Util.Html.Encode'
  ],
  builder:function () {
    'use strict';

    return Uize.package ({
      process:function (i) {
        function _cssClass (_class) {return m.cssClass (_class)}
        function _childHtml (_properties) {return m.childHtml (_properties)}
        function _encodeAttributeValue (_value) {return Uize.Util.Html.Encode.encode (_value)}
        var
          m = this,
          i = arguments [0],
          _idPrefix = i.idPrefix,
          _fragment0 = '" class="',
          _fragment1 = _cssClass ('view'),
          _fragment2 = '" style="',
          _fragment3 = '">\r\n      
\r\n \r\n
' + _encodeAttributeValue (i['result']) + '
\r\n \r\n \r\n\r\n' ); } }); } });