Binding Agent

We still have a hardcoded base path in our Karma-CommonJS bridge, and that’s clearly not a good long-term solution. To solve the problem, we need our require() call to pass in the path of the calling file as well as the dependency. But that’s not how CommonJS’s require() works. Enter bind().

  1. LL15Large-Scale JavaScript Fundamentals

    Fri, 6 Sep ’13
  2. E110Into the Sausage Factory

    Wed, 26 June ’13
  3. E111The Module Casing

    Mon, 1 July ’13
  4. E112Twisting the Ends

    Wed, 3 July ’13
  5. E113Extracting the Export Meat

    Mon, 8 July ’13
  6. E114Labelling the Vat

    Wed, 10 July ’13
  7. E115Superdog

    Mon, 15 July ’13
  8. E116Links

    Wed, 17 July ’13
  9. E117Make Me One with Everything

    Mon, 22 July ’13
  10. E118Binding Agent

    Wed, 24 July ’13
  11. E119All Beef

    Mon, 29 July ’13
  12. E120Prepare the Next Batch

    Wed, 31 July ’13