client.js
function render(item, escape) {
        return [
          '<div class="completed">',
            '<strong class="name">'+ escape(item.name) +'</strong>',
           'string' === typeof item.desc ? '<span class="description">'+ escape(item.desc) +'</span>' : '',
          '</div>'
        ].join('');
      }
function render(item, escape) {
        return [
          '<div class="completed">',
            '<strong class="name">'+ escape(item.name) +'</strong>',
           'string' === typeof item.desc ? '<span class="description">'+ escape(item.desc) +'</span>' : '',
          '</div>'
        ].join('');
      }
function render ( item , escape ) { return [ '<div class="completed">' , '<strong class="name">' + escape ( item . name ) + '</strong>' , 'string' === typeof item . desc ? '<span class="description">' + escape ( item . desc ) + '</span>' : '' , '</div>' ] . join ( '' ) ; }
Custom layout renderer for items.

@param {Object} item The thing returned from the server.
@param {Function} escape Custom HTML escaper.
@returns {String}
@api private
Custom layout renderer for items .