Changeset 802

Show
Ignore:
Timestamp:
04/27/06 16:13:48 (2 years ago)
Author:
bob@redivi.com
Message:

work around IE bug in a better way

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • mochikit/branches/MochiKit-1.3.1/MochiKit/Logging.js

    r801 r802  
    278278        typeof(dispatchEvent) != "undefined") { 
    279279    // FireBug really should be less lame about this global function 
    280     function printfire () { 
    281         try { 
    282             printfire.args = arguments; 
    283             var ev = document.createEvent("Events"); 
    284             ev.initEvent("printfire", false, true); 
    285             dispatchEvent(ev); 
    286         } catch (e) { 
    287             delete printfire; 
    288         } 
    289     } 
     280    printfire  = function () { 
     281        printfire.args = arguments; 
     282        var ev = document.createEvent("Events"); 
     283        ev.initEvent("printfire", false, true); 
     284        dispatchEvent(ev); 
     285    }; 
    290286} 
    291287