doT
doT copied to clipboard
Adding in a way to not explicitly set context
Essentially this created a function that created a new function with the definition of automatically spreading out the passed in arguments so that you can have context-less templates. I'm aware that this is a feature in v2, but I thought it might be useful to add to v1, especially since v2 is in beta
Since it was a bit of a mindtwist trying to write the code, I thought I'd leave a couple of comments on how it works