Commit b2650a39 authored by Olivier Melcher's avatar Olivier Melcher

c8

parent a8798cd6
...@@ -4541,10 +4541,11 @@ ...@@ -4541,10 +4541,11 @@
if (typeof window.define === "function" && window.define.amd) { if (typeof window.define === "function" && window.define.amd) {
window.define("c3", ["d3"], c3); window.define("c3", ["d3"], c3);
} else if ('undefined' !== typeof exports && 'undefined' !== typeof module){
module.exports = c3;
} else { } else {
window.c3 = c3; window.c3 = c3;
} }
// TODO: module.exports
// Features: // Features:
// 1. category axis // 1. category axis
......
...@@ -2,9 +2,11 @@ ...@@ -2,9 +2,11 @@
"name": "c3", "name": "c3",
"repo": "masayuki0812/c3", "repo": "masayuki0812/c3",
"description": "A D3-based reusable chart library", "description": "A D3-based reusable chart library",
"version": "0.0.1", "version": "0.1.39",
"keywords": [], "keywords": [],
"dependencies": {}, "dependencies": {
"mbostock/d3": "*"
},
"development": {}, "development": {},
"license": "MIT", "license": "MIT",
"main": "c3.js", "main": "c3.js",
......
{ {
"name": "c3", "name": "c3",
"version": "0.1.38", "version": "0.1.39",
"description": "D3-based reusable chart library", "description": "D3-based reusable chart library",
"main": "c3.js", "main": "c3.js",
"scripts": { "scripts": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment