Skip to content
This repository has been archived by the owner on Apr 24, 2018. It is now read-only.

remove jQuery #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

remove jQuery #2

wants to merge 2 commits into from

Conversation

julienw
Copy link

@julienw julienw commented Jan 17, 2013

This implements a DOM-like event system so that we'd still can
use jQuery on the install object.

This need to be verified though.

I didn't actually try to use this so I'm pretty sure this won't be perfect ;) Still this is jshint-error free. The only thing I really don't know is if jQuery will accept to listen on events on this object that is not a Node even if it implements addEventListener and other such functions.

As a side node, I'm not sure we should expose dispatchEvent too.

This implements a DOM-like event system so that we'd still can
use jQuery on the install object.

This need to be verified though.
@julienw
Copy link
Author

julienw commented Jan 17, 2013

With jQuery removed, we could then remove also the require dependency.

@julienw
Copy link
Author

julienw commented Jan 19, 2013

ok, jQuery seems to like these addEventListener and co. Good news !

I tried both 1.9.0 and 1.6.4.

@jrburke
Copy link
Member

jrburke commented Jan 21, 2013

I am hoping to clean up some things for an fx app hack day coming this Saturday, and I want to address this before then. I may go with a slightly different approach, but use a smaller shim for this functionality. But I will know more later in the week.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants