diff --git a/.gitignore b/.gitignore index 837291b..844bfdb 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ logs *.log npm-debug.log* +.DS_Store # Runtime data pids diff --git a/example/index.html b/example/index.html index 744fee8..f542155 100644 --- a/example/index.html +++ b/example/index.html @@ -2,9 +2,8 @@ - + -
diff --git a/example/js/topojson.min.js b/example/js/topojson.min.js new file mode 100644 index 0000000..4554c42 --- /dev/null +++ b/example/js/topojson.min.js @@ -0,0 +1,2 @@ +// https://github.com/topojson/topojson Version 3.0.0. Copyright 2017 Mike Bostock. +(function(r,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(r.topojson=r.topojson||{})})(this,function(r){"use strict";function n(r,n){var e=n.id,o=n.bbox,a=null==n.properties?{}:n.properties,i=t(r,n);return null==e&&null==o?{type:"Feature",properties:a,geometry:i}:null==o?{type:"Feature",id:e,properties:a,geometry:i}:{type:"Feature",id:e,bbox:o,properties:a,geometry:i}}function t(r,n){function t(r,n){n.length&&n.pop();for(var t=f[r<0?~r:r],e=0,o=t.length;e