Browse Source

c8

pull/232/head
Olivier Melcher 11 years ago
parent
commit
b2650a39e4
  1. 3
      c3.js
  2. 6
      component.json
  3. 2
      package.json

3
c3.js

@ -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

6
component.json

@ -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",

2
package.json

@ -1,6 +1,6 @@
{ {
"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": {

Loading…
Cancel
Save