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

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

    return Uize.package ({
      process:function (i) {
        function _cssClass (_class) {return m.cssClass (_class)}
        function _encodeAttributeValue (_value) {return Uize.Util.Html.Encode.encode (_value)}
        var
          m = this,
          i = arguments [0],
          _idPrefix = i.idPrefix,
          _fragment0 = '" class="'
        ;
        return (
          '\n  \n    \n    \n  \n
' + _encodeAttributeValue (i['message']) + '
' ); } }); } });