Skip to content
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

Remove JQuery dependency #31

Open
uklance opened this issue Jun 22, 2012 · 0 comments
Open

Remove JQuery dependency #31

uklance opened this issue Jun 22, 2012 · 0 comments
Labels

Comments

@uklance
Copy link
Owner

uklance commented Jun 22, 2012

CometD have not written a full "core" javascript implementation. Instead, they have left a few abstract functions around XHR and JSON parsing. These functions have been implemented in the jquery and dojo integrations. I see that someone has also created an ext-js implementation here https://github.com/kembuco/extjs-cometd/blob/master/ext/ux/Cometd.js

It should be possible to write an implementation on top of tapestry.js (I'm just not sure I'm the man for the job)

Here are the jquery-specific files that need to be implemented:
https://github.com/uklance/tapestry-cometd/tree/master/src/main/resources/org/lazan/t5/cometd/jquery

As part of this, PushTarget.js will need to be fixed. It currently relies on jQuery.append(), jQuery.prepend() and jQuery.html()

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

No branches or pull requests

1 participant