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 #5

Open
mrmartineau opened this issue Feb 21, 2016 · 7 comments
Open

Remove jQuery dependency #5

mrmartineau opened this issue Feb 21, 2016 · 7 comments

Comments

@mrmartineau
Copy link

Having this as a jQuery plugin is extremely useful to those that use jQuery, but as I don't ever use jQuery, I would never use this plugin. Now, if you were to create it using native js you would be able to allow use for jQuery and non-jQuery users alike. @desandro does a great job of this in some of his modules, like Flickity for example: http://flickity.metafizzy.co/#initialize-with-jquery

@VPenkov
Copy link
Owner

VPenkov commented Feb 21, 2016

It is an interesting suggestion but I don't think I will be doing that in the immediate future. What I wanted to create was a jQuery plugin with a simple API.

Besides, jQuery is getting better and faster and I am very excited to see if 3.0 will bring the speed boost everyone's hoping for.

I'll ensure compatibility with other libraries like Zepto if I see the demand to do so but currently there are core features on the roadmap that aren't yet finished so those are a priority.

For example, I am working on app-style realtime swipe actions because this will be a pretty cool thing to see on the web. This was actually the idea that gave birth to okayNav.

So there's a chance that I'll focus on a vanilla JS implementation but I don't reckon this will happen in the next month or two. Until then, we can only hope for a generous pull request.

Keep an eye on the roadmap for more details (more like less details).

@mrmartineau
Copy link
Author

Okay.. those are good reasons. Perhaps I'll fork it and make a non-jQuery version with the same feature set..

@VPenkov
Copy link
Owner

VPenkov commented Feb 22, 2016

I suggest to hold on until the swipe thingy is done. It should make a few things obsolete and change others.

@karlprieb
Copy link

I'll use this in my current project, but I'll work on a dependecy-free fork. Can I do PR after I finish?

@VPenkov
Copy link
Owner

VPenkov commented Feb 25, 2016

@karlprieb you should join our Gitter. We're working together with @jonathantneal on this.

@ttbarnes
Copy link

Will look forward to seeing dependency-free version. With vanilla JS it could be wrapped for use with for example Angular, React.

@VPenkov
Copy link
Owner

VPenkov commented Feb 28, 2016

It's already almost available; keep an eye on this repo for a beta.

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

No branches or pull requests

4 participants