[Proto-Scripty] Is stopObserving necessary?

2009-10-27 Thread Simon
x27;observe', 'blur', function() {...}); $('inputs').innerHTML = ' ... '; $('inputs').select('input').invoke('observe', 'blur', function() {...}); Thanks Simon --~--~-~--~~~---~--~~ You recei

[Proto-Scripty] Prototype is slow

2009-11-30 Thread Simon
With the following HTML: ... ... ... the following selector: $('myTable').down('input[name="n_500_3"]').up('tr').down('input [name="n_500_4"

[Proto-Scripty] Songbird.

2009-01-29 Thread Simon
Has anyone managed to get prototype running in Songbird yet? It is based on a Gecko renderer (like Firefox) but prototype seem not to run on it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype & script.ac

[Proto-Scripty] Re: Songbird.

2009-01-30 Thread Simon
I get a "is not a function" message for some - but not all - of the prorotype commands. S. On Jan 30, 2:01 am, kangax wrote: > On Jan 29, 2:36 am, Simon wrote: > > > Has anyone managed to get prototype running in Songbird yet? > > > It is based on a Ge

[Proto-Scripty] HOWTO: Submit AJAX PUT Request with JSON content?

2009-04-06 Thread Simon Harris
For the life of me I can't find any examples of sending an AJAX PUT request with JSON content ('application/json' as opposed to 'application/x-www-form-urlencoded'). Anyone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[Proto-Scripty] Unit Testing: asserting hashes equal

2008-09-28 Thread Simon Harris
I've just upgraded from a VERY old version of unittest.js which included an assertHashEqual() method, to the latest version which has nothing even remotely similar. I've basically restored to using assertEqual($H(expected).inspect(), $H(actual).inspect()) but that's not ideal. What does everyone e

[Proto-Scripty] Re: Unit Testing: asserting hashes equal

2008-09-29 Thread Simon Harris
http://github.com/madrobby/scriptaculous/commits/master/src/unittest.js and http://script.aculo.us/dist/scriptaculous-js-1.8.1.tar.gz On Sep 29, 12:26 am, kangax <[EMAIL PROTECTED]> wrote: > On Sep 28, 6:40 am, Simon Harris <[EMAIL PROTECTED]> wrote: > > > I've