Closed mstalfoort closed 12 years ago
Can you explain why you are moving this code?
Sure I can.
In the initial setup as you have in your master branch, the Dz.init.bind e.g. doesn't get triggered in Opera onload. Not sure if this is a bug in Opera, but moving these events after the "bind" Function prototype solves this.
Well, you can't move the init functions in the Helper section. Move the listeners to the init(), and attach init() like that: window.onload = function() {Dz.init()} And then, we won't need bind anymore.
Just looked at firefly and I'm a bit confused. Opera shouldn't need the bind polyfill but it complains that Dz.init.bind(Dz) is not a function. If we execute the verification in the console it actually is a function.
@paulrouget I tried your solution, it works but the same problem appears on each event listener.
@mstalfoort Changing every listener declaration would work, but it would be better to understand why this behaviour happens and find out why we need to do that.
The same thing happens regarding the foreach nodelist prototype, whereas opera throws errors in the console. We could fallback to the array foreach version, what do you think?
Hey Mark, what is your status on that issue, any progress ?
Hey Hubert.
To be honest, no progress up till now. It has been crazy times at work and about to leave for holiday in a couple of days. I'm still willing to fix this issue so if you could leave it open I will get back on this when I come home again.
No problem Man, we all have other stuffs to do. Just wanted to know your status. See ya.
@mstalfoort I corrected a bug with forEach on Opera 11.60 (see #56), everything else works fine. If you're still having troubles don't hesitate to comment on this bug, we'll discuss it.
Patch for event triggers not working in Opera