? example.patch
Index: js_theming.itemlist.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/js_theming/js_theming.itemlist.js,v
retrieving revision 1.1
diff -u -p -r1.1 js_theming.itemlist.js
--- js_theming.itemlist.js      19 Jul 2008 09:27:18 -0000      1.1
+++ js_theming.itemlist.js      15 Oct 2009 16:38:08 -0000
@@ -17,7 +17,7 @@
  * @return
  *   A string containing the list output.
  */
-Drupal.theme.itemList = function (items, title, type, attributes ) {
+Drupal.theme.prototype.itemList = function (items, title, type, attributes ) {
   var output = '<div class="item-list">';
   if (items == undefined) {
     items = [];  /*initialize default values*/
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/js_theming/js_theming.table.js,v
retrieving revision 1.1
diff -u -p -r1.1 js_theming.table.js
--- js_theming.table.js 19 Jul 2008 09:27:18 -0000      1.1
+++ js_theming.table.js 15 Oct 2009 16:38:09 -0000
@@ -42,7 +42,7 @@
  * @return
  *   An HTML string representing the table.
  */
-Drupal.theme.table = function (header, rows, attributes, caption ) {
+Drupal.theme.prototype.table = function (header, rows, attributes, caption ) {
   if (header == undefined) {
     header = [];  /* array of strings or objects */
   }
@@ -126,7 +126,7 @@ Drupal.theme.table = function (header, r
   return output;
 };

-Drupal.theme.tableCell = function ( cell, header) {
+Drupal.theme.prototype.tableCell = function ( cell, header) {
   if ( header == undefined ) {
     header = false;
   }
@@ -161,7 +161,7 @@ Drupal.theme.tableCell = function ( cell
  * @return
  *   A themed sort icon.
  */
-Drupal.theme.tableSortIndicator = function (style) {
+Drupal.theme.prototype.tableSortIndicator = function (style) {
   if (style != undefined && style == 'asc' ) {
     return Drupal.theme('image', 'misc/arrow-asc.png', Drupal.t('sort icon'), Drupal.t('sort ascending'));
   }
@@ -185,7 +185,7 @@ Drupal.theme.tableSortIndicator = functi
  * @return
  *   A string containing the image tag.
  */
-Drupal.theme.image = function(path, alt, title, attributes, getsize) {
+Drupal.theme.prototype.image = function(path, alt, title, attributes, getsize) {
   if ( alt == undefined) {
     alt = '';
   }
