Hi,
Your options object is common to all instances of Foo, because you
declared it that way:
[snip]
Foo = Class.create({
options: $H({'onSelect' : false}),
initialize: function(element, options) {
[snip]
'options', just like 'initialize', is
Thanx a lot,
now it seems clear to me.
I must confess that javascript and prototype are sometimes magical for me
and it's not obvious to understand the underlying process of Class.Create
...
Well thanx again.
On Tue, Mar 10, 2009 at 2:33 PM, T.J. Crowder t...@crowdersoftware.comwrote:
Hi,