On 8/28/12 9:13 AM, Remi Grumeau wrote:
> Gosh! Modifications in iUI.js... did you covered your head o the sun this weekend?! :)
Change a 'false' to a 'true' and greatly simplify extensions? That's a
big win. My head was well-covered? :)
>
> First, if we modify domething about events, let's do it for real. Bye bye addEventListener,
Rewriting iUI to support the IE event model is not something I want to
do right now -- if ever. I also do not want to rewrite jQuery inside
iui.js. attachEvent is on it's way out, even for IE -- so I think we
should stick with addEventListener for now.
If we do decide to support attachEvent for some reason, that would be a
completely separate change from what is currently proposed.
>
> For the rest, i'm always +1k for more documentation.
This change should simplify the documentation (as it simplifies the
sample extensions) Do you see any issues with the change itself?
> Please also keep in mind that you now may test all extensions in iui/ext-sandbox to work just fine with this modification. It's ok if it's not the case for "nighlty builds" but it has to be for public releases.
I've tested the change with most of the sandbox and non-sandbox (aka
iui-event-log.js) extensions in 2-3 browsers and they seem OK. And I
haven't even pulled the extension in to the main branch...
If no one brings up any issues, I'll accept the pull request and merge
the code into the main branch. This will automatically trigger a CI
build (aka "nightly", but they happen on every change rather than once a
day) and then non-Git-users can download and test the zip.
We can do additional testing before making an 0.4.1 release.
-- Sean