4 ms·
Why is this a plugin? I'm likely only going to be using one of these types of captions, which I can write in about 5 lines of stylus. The rest of the options th
by woah 13y ago
Why is this a plugin? I'm likely only going to be using one of these types of captions, which I can write in about 5 lines of stylus. The rest of the options that you added to make this a 'real open source project' are then cruft.
EDIT: Sorry, not to denigrate your hard work, but I was burned early in my career by trying to use too many labor saving plugins. Later, I learned how to code correctly. I found that I could accomplish in 30 lines of js and 10 lines of css what I had previously downloaded a 500 line plugin for. I wondered why people found it necessary to build such bloated plugins, and realized that it probably stems from a desire to make a 'real, full-featured project'.
- jbranchaud 13y agoYou make a valid point. If a person just needs a quick one-off caption for a single image and they know their way around CSS, then this might not be for them. I am aiming to build a clean, consistent solution that can be grabbed from bower more quickly than finding similar lines of code in a blog. Furthermore, I found it to be non-trivial to come up with a solution that didn't require specifying a predetermined image width. I hope captionss saves people that trouble as well.
- beachstartup 13y agothis is a plugin because: * what the hell is stylus? your favorite tool isn't necessarily ubiquitous. * it can serve as a learning tool for others. open source, remember? learning, and stuff. * it could serve as a starting point for a minimal/stripped down version someone hacks away from. * not everyone cares about 40 vs. 500 lines. some just want a cool and clean effect for a small audience, perhaps a small gallery site for a pro wedding photographer doing her/his own site. * sorry, not everyone is as awesome as you are at coding. please bear with us while this guy releases hard work for free.
- porker 13y agoPlease, write us a tutorial on those 5 lines of stylus - it'd be really helpful.