Hi, I'm using prototype-1.6.0.3.js, and I'm trying to subclass Array like this:
var MyArr = Class.create(Array, { initialize: function($super, arg) { $super(arg); } }); Or just like this: var MyArr = Class.create(Array, {}); Neither seems to work at all. In the Firefox Error Console I get "Error: parent.subclasses is undefined" with a reference to line 62 in the prototype file. Is it possible to subclass Array? /Jon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---