Hi,

I found out (the "bug" way ;) ) that if I write a class like so:

MyClass = new Class({

    myHash : new Hash()

})

Later I will use this class

a = new MyClass();

b = new MyClass();

I would seem that the hash is actually being shared :P
My work around is to init the hash in the "initialize" method.

Any thought about this? I dont like the aesthetics of this implementation...

Cheers
Roman

-- 
---
"Make everything as simple as possible, but not simpler."

- Albert Einstein

Reply via email to