[Prototype-core] Re: Class.create and inheritance

2007-09-27 Thread Mislav Marohnić
On 9/27/07, Ryan Gahl [EMAIL PROTECTED] wrote: ok, then it does work, my apologies :) Every implementation breaks if you use it wrong. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To

[Prototype-core] Re: Class.create and inheritance

2007-09-27 Thread Ryan Gahl
indeed! Sorry again for jumping the gun - sort of a vanity thing there I guess (ooo, ooo, use my code, use my code), :) At least one thing I do like about your implementation is the shortcut syntax for supplying the subclass definition right within the Class.create() call. When I have time I

[Prototype-core] Object#hasOwnProperty support for Safari

2007-09-27 Thread Ben Newman
This may not be appropriate for a release candidate version of the library, but I thought I'd share :) http://dev.rubyonrails.org/ticket/9700 I haven't seen any other implementations of hasOwnProperty that could be called sound, but maybe I didn't look hard enough. In any case, I'll be

[Prototype-core] Re: Error in Opera (possible bug)

2007-09-27 Thread [EMAIL PROTECTED]
As a patch: Changing line 1548 in prototype.js from: results.push(query.snapshotItem(i)); to: results.push($(query.snapshotItem(i))); seems to solve this particular issue - I am not sure if that affects other things negatively or not... (again, this is the 1.6.0_rc0 version)

[Prototype-core] Re: Why PeriodicalUpdater doesn't work on Internet Explorer?

2007-09-27 Thread Tobie Langel
Hi, You'll get an answer much faster on the prototype user mailing list: http://groups-beta.google.com/group/rubyonrails-spinoffs Best, Tobie --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core

[Prototype-core] Why PeriodicalUpdater doesn't work on Internet Explorer?

2007-09-27 Thread www.webpolis.com.ar
I have the following code: script type=text/javascript Event.observe(window, 'load', function() { var updater = new Ajax.PeriodicalUpdater('chatbox', 'chat.php', {method: 'get', asynchronous: true, frequency: 0.55, decay: 2, onSuccess: function(){$('chatbox').scrollTop=$