Sha256: ea7c651d3768d3d5a00bce9a44ea691af74e2774c57d52ea001ba6d081b52ff2

Contents?: true

Size: 455 Bytes

Versions: 4

Compression:

Stored size: 455 Bytes

Contents

var smash = require("smash"),
    d3 = require("d3");

module.exports = function() {
  var files = [].slice.call(arguments).map(function(d) { return "geo/projection/" + d; }),
      sandbox = {d3: d3};
  files.unshift("geo/projection/start");
  files.push("geo/projection/end");

  function topic() {
    smash.load(files, "d3.geo", sandbox, this.callback);
  }

  topic.sandbox = function(_) {
    sandbox = _;
    return topic;
  };

  return topic;
};

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
d3js-plugins-rails-0.0.8 vendor/assets/javascripts/d3/plugins/geo/projection/test/load.js
d3js-plugins-rails-0.0.7 vendor/assets/javascripts/d3/plugins/geo/projection/test/load.js
d3js-plugins-rails-0.0.6 vendor/assets/javascripts/d3/plugins/geo/projection/test/load.js
d3js-plugins-rails-0.0.5 vendor/assets/javascripts/d3/plugins/geo/projection/test/load.js