12
AllenII
8y

!rant

Been working on a custom html partial injector (js/jquery only) as both a personal challenge and utility to use for my website scaffold. Being a challenge, i decided not to look at any implementation from another JS framework. I won't lie, i had it 'working' at least 5 times now, but this time, after about 3-4 days, i think i got it for real. And the cool thing? It's a bit less code than my original implementation even with my generous whitespace and verbosity. And it even unwraps nicely so it looks like a regular html page in the dev tools.

I love when things finally work as they should--God knows i question my motives before then.

Comments
  • 0
    Aaaaannnnd the callback doesn't fire properly
  • 0
    UPDATE: git commit -m 'successfully gets nested includes AND fires callbacks'
Add Comment