Gribbagrab your resources
I'm going to be honest: I respectfully dislike RequireJS. Nobody likes AMD, they just accept it. It's fugly. It requires extra work when loading non-AMD modules. It's big and powerful.
CommonJS implementations like Browserify are cool, but sometimes you want to load your resources asynchronously. I'd rather load jQuery from a CDN than from something I concatenated. I'd also like fallback support in case the CDN is inaccessible for some reason.
And then there are simple loaders like Toast or my very own ScriptInclude. They're useful for small projects, but not ones with big dependencies. In ScriptInclude's case, for example, dependencies throw you into Callback Hell. Ain't nobody got time for that.
And then there's my favorite: script tags. The old-fashioned way. They're okay too, but (1)
defer are a nightmare (2) you can't load CSS asynchronously (3) it's nowhere near as cool, let's face facts.
So, in a belligerent rage, I built Gribbagrab. Go give it a whirl.
Posted on .