Earlier Arian explained something about adding events and their value
(http://groups.google.com/group/mootools-users/browse_thread/thread/
1069f90cf282fcf2/97cfe14c06055f83)
He also wrote:
"Maybe an even important difference between the values 1 and 2 is that
the ones with 2 can bubble and are cancelable, hence the
preventDefault and stopPropagation methods on the event object."
So I needed the storage event and as described by w3: [...] which does
not bubble and is not cancelable, [...]
Remembering Arian's comment I would have expected value 1 for the
storage event, even though it has "interesting data" (an event
object). But it needs to be 2;
Element.NativeEvents.storage = 2;
window.addEvent('storage', function(event){
...
});
So, maybe Arain (or someone) can explain if the earlier comment "the
more important difference" is not always the case or is it easier to
remember that if you expect any "interesting data" (whatever that may
be) it's always a value of 2(?). I mean it's easy enough to implement
it, test it, change it when it's not working, but ok :)
Cheerio