Changeset 801

Show
Ignore:
Timestamp:
04/27/06 15:52:28 (2 years ago)
Author:
bob@redivi.com
Message:

backport

Files:

Legend:

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

    r791 r801  
    279279    // FireBug really should be less lame about this global function 
    280280    function printfire () { 
    281         printfire.args = arguments; 
    282         var ev = document.createEvent("Events"); 
    283         ev.initEvent("printfire", false, true); 
    284         dispatchEvent(ev); 
     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        } 
    285289    } 
    286290} 
  • mochikit/branches/MochiKit-1.3.1/doc/html/MochiKit/VersionHistory.html

    r791 r801  
    1616<p>2006-XX-XX      v1.3.1 (bug fix release)</p> 
    1717<ul class="simple"> 
     18<li>Internet Explorer fix in MochiKit.Logging (printfire exception)</li> 
    1819<li>Internet Explorer XMLHttpRequest object leak fixed in MochiKit.Async</li> 
    1920</ul> 
  • mochikit/branches/MochiKit-1.3.1/doc/html/MochiKit/index.html

    r791 r801  
    6464<p>2006-XX-XX      v1.3.1 (bug fix release)</p> 
    6565<ul class="simple"> 
     66<li>Internet Explorer fix in MochiKit.Logging (printfire exception)</li> 
    6667<li>Internet Explorer XMLHttpRequest object leak fixed in MochiKit.Async</li> 
    6768</ul> 
  • mochikit/branches/MochiKit-1.3.1/doc/rst/MochiKit/VersionHistory.rst

    r791 r801  
    112006-XX-XX      v1.3.1 (bug fix release) 
    22 
     3- Internet Explorer fix in MochiKit.Logging (printfire exception) 
    34- Internet Explorer XMLHttpRequest object leak fixed in MochiKit.Async 
    45 
  • mochikit/branches/MochiKit-1.3.1/packed/MochiKit/MochiKit.js

    r791 r801  
    16451645if(typeof (printfire)=="undefined"&&typeof (document)!="undefined"&&document.createEvent&&typeof (dispatchEvent)!="undefined"){ 
    16461646function printfire(){ 
     1647try{ 
    16471648printfire.args=arguments; 
    16481649var ev=document.createEvent("Events"); 
    16491650ev.initEvent("printfire",false,true); 
    16501651dispatchEvent(ev); 
     1652} 
     1653catch(e){ 
     1654delete printfire; 
     1655} 
    16511656} 
    16521657}