Jetpack Modules: The Key To Generativity


http://people.mozilla.com/~bwarner/jetpack-workshop/
(http://bit.ly/qV9r9m)


  const api = require("api");

  exports.foo = function(arg1, arg2) {
      var bar = api.something(arg1);
      return bar + arg2;
  };
  
notes go here

What Are Jetpack Modules?


How does Jetpack use modules?


Why?


Code Isolation


Code Isolation


Code Reuse

Exercise: Make a Module


Security Isolation


POLA

Add-On Manifest


Module Guidelines


Exercise: Github Status


Exercise: Github Status


Exercise: Split It Up


More Exercises


Chrome Modules


Jetpack Modules: The Future


Thanks!