This commit is contained in:
Rolf Sommerhalder 2014-04-27 08:49:21 +00:00
commit a1f8522ef5

6
dist/planetaryjs.js vendored
View File

@ -1,4 +1,4 @@
/*! Planetary.js v1.1.0 /*! Planetary.js v1.1.1
* Copyright (c) 2013 Brandon Tilley * Copyright (c) 2013 Brandon Tilley
* *
* Released under the MIT license * Released under the MIT license
@ -6,7 +6,9 @@
*/ */
(function (root, factory) { (function (root, factory) {
if (typeof define === 'function' && define.amd) { if (typeof define === 'function' && define.amd) {
define(['d3', 'topojson'], factory); define(['d3', 'topojson'], function(d3, topojson) {
return (root.planetaryjs = factory(d3, topojson));
});
} else if (typeof exports === 'object') { } else if (typeof exports === 'object') {
module.exports = factory(require('d3'), require('topojson')); module.exports = factory(require('d3'), require('topojson'));
} else { } else {