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

Drop jquery dependency #52

Open
laszlokorte opened this issue Aug 28, 2015 · 0 comments
Open

Drop jquery dependency #52

laszlokorte opened this issue Aug 28, 2015 · 0 comments

Comments

@laszlokorte
Copy link
Member

Maybe we do not need to use jquery at all.

Currently we use:

$.extend for merging the config object with the default config - could use pure js to do the merge
$.prototype.text() to access the input fields content - could use innerText and textContent
$.prototype.stop and $.prototype.slideToggle - could use css animation
$.prototype.next, $.prototype.is and $.prototype.closest - could use document.querySelector,
$.prototype.on and $.prototype.off for event binding - addEventListener should work in all browsers now
$.ajax for ajax request - could use raw ajax api

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

No branches or pull requests

1 participant