Requires jQuery :trollface:
I love this plugin and would love to use it on my site, but don't want to pull down the entirety of jQuery just to use it.
I've set out to create smallfoot, a dependancy-free version of bigfoot (with far-fewer features, at least to begin with).
Any words of wisdom or specific pitfalls I should watch out for?
Thanks for the inspiration!
You're certainly more than welcome, although I should tell you that I have a vanilla-JS version that's almost done that does a little bit of cleanup. If you're still wanting to go for it, I would strongly recommend ignoring hover-based activation (greatly complicates things), same goes for the breakpoints and custom markup stuff (the first one I have also removed, the other two I have begrudgingly left in).
By the way, loved your "I Am The Fold" project!
Hah! Thanks 😃
Is the vanilla version open source? I would love to help out!
It's not there yet, I have it in a branch on the main Bigfoot repo but I don't think I've pushed it up. Will let you know when I do :+1:
I should have seen this issue before working my way into a version. I wrote this one in a weekend and I barely know any Javascript. Would appreciate to have an official Bigfoot alternative instead :D
Any news on this, @lemonmade? If you were to push what you have so far and a list of things to be done I could take a crack at finishing it…
I'd be happy enough if it worked with Zepto (I originally thought the reason it didn't work was the explicit use of the jQuery var, but now I see there's a selector [data-footnote-identifier]:last that Zepto doesn't like). Might be easy to work around, though.
Sorry folks, it is on the way, I am just finishing up work on another big project. The switch is also going to simplify some of the options, remove some bad features, and bring a much cleaner workflow for documentation/ building, so I am hoping there won't be long delays in introducing these kinds of changes again.
:+1:
Any progress on this?
I was looking to get rid of jQuery as well, so I took some time off to fork Bigfoot as littlefoot. I added unit tests and rewrote the codebase in ECMAScript 2015.
Bear in mind that I renamed or removed several settings and methods, so this is not a drop-in replacement for Bigfoot. Please see the bottom of the README file for a list of significant changes.