Browse Source

Make breadcrumbs work on IE 5 for MacOS.

Submitted by:	fritz <fritz at lateral dot net>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274461 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
52eb4a6130
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      docs/breadcrumbs.js

+ 10
- 0
docs/breadcrumbs.js View File

@@ -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
======================================================================== */


Loading…
Cancel
Save