-
Notifications
You must be signed in to change notification settings - Fork 332
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
Eliminate when.js and resolve several issues #315
Conversation
Hi! I am thrilled that someone has taken an interest in this project. Obviously I've completely neglected it, largely because I haven't been actively in any of my work for a long time. But I think it's still useful; while SVG has universal support now and is probably better for some simple use cases, other use cases (particularly those involving altImage) do not have an elegant, simple solution in modern HTML as far as I know. I've thought many times about trying to bring this out of the dark ages but it's been hard to prioritize it since I don't personally use it right now. First and foremost, it probably makes sense for me to just make you a collaborator, since it's clear you have much more investment right now in the project's future than I do. Let me know if you want me do that and you can self manage this. At this point, since I've let this project die on the vine, I don't think I deserve a lot of say in where you go with this. But if you want I can be a reviewer and advisor as time permits. The things that I would probably do if I started from scratch are:
Beyond that there's probably a lot of terrible code, I was a pretty inexperienced JS coder at the time ;) What you choose to do here is totally up to you though assuming you want to basically take over here, those are just the things that make sense to me in the javascript world I live in these days. |
Hi @jamietre - First off, thanks for all your work on this plugin over the years! Secondly, really appreciate your quick response to my PR and sharing your thoughts, completely agree with your points on ways to improve/modernize. For my situation, I likely won't need to take things as far as they could be taken but definitely some of the items you mention I plan on tackling in the short term. I just inherited a project that used IM and moving to SVG isn't an option for now so modernizing the library is the best near term path forward. For this PR, the number of files changed is a bit misleading, the actual code changes I made thus far are very minimal: #311 - No code changes, just clean-up by running build from project root to normalize whitespace and also build latest dist folder since the last commit to the library didn't include a new "build" Regarding your input/ideas, a couple of thoughts/questions: 4. get rid of the jQuery/zepto dependency - Just FYI that I didn't touch anything on the zepto side across the 4 commits, only changes to that file are normalizing whitespace. I'm not familiar with Zepto so if there's anything I would need to do/fix here as I modernize, please let me know your thoughts. Alternatively, possibly it makes sense to remove the "Zepto" specific elements all together? Regarding next steps:
Thanks again!! |
I made you a collaborator. Thanks for clarifying the changes! jquery/zepto - obviously I completely forgot that I did that at some point ;) I will be glad to take a look at the code, though chances are my opinion will have very little to do with making sure nothing changes on the overall project operation since I doubt I remember much at all about it! But probably better than nothing! |
Thanks for making me a collaborator, I just accepted invite, happy to join the team! I made a few more changes last night, all minimal but a few fixes and updates to docs, etc. The changelog outlines everything that's included/target for the next release (1.2.14), what's planned for 2.0 and based on your input, what a roadmap could entail. When you get a chance:
Thanks again! |
Resolves #311, Resolves #312, Resolves #313, Resolves #314, Resolves #316 & Resolves #317 - Plan on working on NPM support, updating jQuery, etc.