An over simplified and contrived example of how to use RequireJS, created for a live coding demo during a talk I gave to the A2LAMP meetup group (a2lamp.com).