-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Events don't behave correctly #50
Comments
Hi, You need to tell it what you want to listen to:
|
js/document is the something in this scenario. It's cool, though. I ended up writing my own dom manipulation/even library. Thanks for the inspiration. |
@dubiousdavid so what was the problem with the above code? |
Sorry, not sure what you're referring to. My code or the code posted by fwaddle? |
My bad, I was referring to your code: is the current implementation of |
js/document should be a valid listen target, should it not? You can do this in jQuery, and it works as expected. |
I'm know very little about jquery and therefore not sure what you're trying to do but when attempting to listen you need to get the element itself like so:
Anyway is your own dom manipulation library open source or available? |
My goal is to open-source a bunch of cljs libraries (browser and node.js based) I've been developing for the company I work for. I need to run it past my boss, but I would really like to share with the community, especially since much of the work is inspired by existing projects like domina. David On Apr 21, 2013, at 9:53 PM, fwaddle [email protected] wrote:
|
The following does not work in any browser I tested.
Nor does
The text was updated successfully, but these errors were encountered: