[dev] Browser support

Roel Gloudemans roel at gloudemans.info
Wed Dec 7 00:21:49 PST 2005


Quoting Chuck Hagenbuch <chuck at horde.org>:

> We should at least make sure that 6 works everywhere, and if this is
> the only thing keeping 5 from working as well, that's a bonus. I'm
> inclined to draw the line at IE 5.5, fwiw. Anyway, I'd suggest working
> up a patch using something like this instead:
>
> if (typeof Array.prototype.push == 'undefined') {
>      Array.prototype.push = function() {
>          var l = this.length;
>          for (var i = 0; i < arguments.length; i++) {
>              this[l + i] = arguments[i];
>          }
>          return this.length
>      }
> }
>
> Putting that into horde.js.php should do it - try it out and let us
> know, maybe add a patch to bugs.horde.org for it?

OK. I'll make up a fix for this.

Cheers,
Roel.



More information about the dev mailing list