(function (root, factory) {
  if (typeof define === 'function' && define.amd) {
    define(['d3', 'topojson'], factory);
  } else if (typeof exports === 'object') {
    module.exports = factory(require('d3'), require('topojson'));
  } else {
    root.planetaryjs = factory(root.d3, root.topojson, root);
  }
}(this, function(d3, topojson, window) {
  'use strict';

@@ -105,22 +105,108 @@
 son'%5D, f
-actory
+unction(d3, topojson) %7B%0A      return (root.planetaryjs = factory(d3, topojson, root));%0A    %7D
 );%0A  %7D e

Set `planetaryjs` global when using AMD