ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/docs breadcrumbs.js
Date Tue, 15 Apr 2003 11:08:37 GMT
bodewig     2003/04/15 04:08:37

  Modified:    docs     breadcrumbs.js
  Log:
  Make breadcrumbs work on IE 5 for MacOS.
  
  Submitted by:	fritz <fritz at lateral dot net>
  
  Revision  Changes    Path
  1.2       +10 -0     ant/docs/breadcrumbs.js
  
  Index: breadcrumbs.js
  ===================================================================
  RCS file: /home/cvs/ant/docs/breadcrumbs.js,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- breadcrumbs.js	24 Jan 2003 08:55:01 -0000	1.1
  +++ breadcrumbs.js	15 Apr 2003 11:08:36 -0000	1.2
  @@ -62,6 +62,16 @@
    *@version    1.0
    */
   
  +/**
  + * IE 5 on Mac doesn't know Array.push.
  + *
  + * Implement it - courtesy to fritz.
  + */
  +var abc	= new Array();
  +if (!abc.push) {
  +  Array.prototype.push	= function(what){this[this.length]=what}
  +}
  +
   /* ========================================================================
   	CONSTANTS
      ======================================================================== */
  
  
  

Mime
View raw message