Adrian . Matías Quezada

Modularize your Javascript

This is a talk I gave at a Betabeers Barcelona event about how to use RequireJS and it's CommonJS compatibility:

define(function (require, exports, module) {
  var foo = require('./foo');

  return { bar: 1 };
});

Sadly I chose a niche presentation micro-framework which at some point I forgot how to run and couldn't invest the time to re-learn it. This wouldn't have happened if I had documented it, or at least taken notes about how to use it — lesson learned.

The deck has since been re-authored from its original source into Slidev, speaker notes and all, and runs again at slides.amatiasq.com/requirejs.