OMFG. Here's a self-rant for you all...

So, working on a JS library to build widgets, I five across some weird behaviour where I expect `$.ajax.apply()` to pass something to the chained `.done()` method, but it comes out differently.

Fuck. Right, time to visit StackOverflow and glean some knowledge.

I post a question, complete with examples and descriptions and a little midget unicorn in the corner for world peace.

Come back a bit later to see what's happened, and nobody understands my damn question!

So I proceed to debate a few points with some other devs, going back and forth for a while, but still nobody knows what I'm asking.

Fuck. Time for a JSFiddle...

Copy code from the jQuery docs and start modifying it to show what I was working with... Now suddenly is all working as the docs say.


So I go look back at my own code again to try work out what's actually going on.

Turns out I completely missed MY OWN CODE.

Fuck me.

Add Comment