JavaScript: getting started with RequireJS

Until recently, I'd mostly avoided RequireJS under the mistaken impression that it was overly complicated for my needs and only useful for large-scale applications. I was mistaken: it's actually a fairly straightforward thing that can work just fine for small apps, and more importantly it encourages an organised and structured approach to JavaScript code. The RequireJS documentation is not, in my opinion, super helpful for beginners. It feels like it's written for really smart people who can infer everything from minimal information, and doesn't do a great job of explaining the basic concepts behind RequireJS, AMD etc. Who knows, maybe »