www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

html.js (396B)


      1 (function($) {
      2     var htmlElements = [
      3         'div', 'span',
      4         'table', 'thead', 'tbody', 'tr', 'th', 'td', 'tfoot',
      5     ];
      6     
      7     $.each(htmlElements, function(i, elem) {
      8         widget(tk, elem, function(_) {
      9             _.options(
     10                 'class', ''
     11             );
     12             
     13             return $('<' + elem + '/>', this).append(_('rest'));
     14         });
     15     });
     16 })(jQuery);