bigfoot icon indicating copy to clipboard operation
bigfoot copied to clipboard

Requires jQuery :trollface:

Open iest opened this issue 10 years ago • 10 comments

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!

iest avatar Feb 17 '15 23:02 iest

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!

lemonmade avatar Feb 18 '15 13:02 lemonmade

Hah! Thanks 😃

Is the vanilla version open source? I would love to help out!

iest avatar Feb 19 '15 19:02 iest

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:

lemonmade avatar Feb 19 '15 20:02 lemonmade

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

philgruneich avatar Mar 25 '15 06:03 philgruneich

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…

bdesham avatar Jul 14 '15 15:07 bdesham

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.

rcarmo avatar Jul 26 '15 17:07 rcarmo

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.

lemonmade avatar Jul 27 '15 04:07 lemonmade

:+1:

bdesham avatar Jul 28 '15 23:07 bdesham

Any progress on this?

hermanbanken avatar Mar 29 '16 14:03 hermanbanken

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.

goblindegook avatar May 06 '16 18:05 goblindegook