-
Notifications
You must be signed in to change notification settings - Fork 77
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
Deprecating event() #1
Comments
I think that you're right on with your philosophy on the matter. I'd say make a new library. On Tue, Aug 13, 2013 at 1:37 PM, Nathan Bubna notifications@git.luolix.topwrote:
|
@jtenner +1 |
Thanks for the input, folks. I resolved this morning to pull event stuff out to a separate project, though that's sure to be an interesting challenge. I'm considering making it even more interesting by merging it with the richer native event world of http://github.com/nbubna/trigger just to keep me on my toes. :) |
For anyone who finds this that was interested in the event.js code, i currently plan to move it here: http://github.com/nbubna/Eventi My intention is that Eventier will, in its primary dist artifact, plug itself into HTML.js with no effort on your part beyond inclusion. It will likely also provide more features than |
since https://github.com/nbubna/Eventi is now in useable condition (needs docs, though), i am going to pull event.js out of the main build and bump the minor version number. It will remain available in the dist and in the source as a separate artifact for the remainder of the 0.x branch, at least. |
So, those reading the code will see that event() has landed but is not yet exposed in the main documentation on the gh-pages branch nor in a published/tagged release.
I'm hesitating on this, because i'm concerned it might be "bloat". addEventListener and friends are obviously part of the DOM interface HTML exposes, but not all of the DOM is about HTML. (notice i called the library HTML.js, not DOM.js)
After finishing the event.js code, i started to feel that it was suffering under the constraint of being in HTML.js and expanding the scope and weight of HTML.js in the process. It might be better suited for a separate library, where it can be free of HTML's constraints and grow a bit larger (there are other features i envision for it).
Obviously, if i pull it out to a separate library, it can still integrate smoothly with HTML.js, via HTML._.fn.
Any one out there have thoughts on this?
The text was updated successfully, but these errors were encountered: