Browse Source

Fixing build

v1-dev
Ændrew Rininsland 8 years ago
parent
commit
6bb85ae1a7
No known key found for this signature in database
GPG Key ID: ADBCD4C867F9B2DA
  1. 7370
      c3.js
  2. 2
      es6_modules/axis/axis.js
  3. 2
      es6_modules/chart/api.axis.js
  4. 2
      es6_modules/chart/api.category.js
  5. 2
      es6_modules/chart/api.chart.js
  6. 2
      es6_modules/chart/api.color.js
  7. 2
      es6_modules/chart/api.data.js
  8. 2
      es6_modules/chart/api.flow.js
  9. 2
      es6_modules/chart/api.focus.js
  10. 2
      es6_modules/chart/api.grid.js
  11. 2
      es6_modules/chart/api.group.js
  12. 2
      es6_modules/chart/api.legend.js
  13. 2
      es6_modules/chart/api.load.js
  14. 2
      es6_modules/chart/api.region.js
  15. 2
      es6_modules/chart/api.selection.js
  16. 2
      es6_modules/chart/api.show.js
  17. 2
      es6_modules/chart/api.tooltip.js
  18. 2
      es6_modules/chart/api.transform.js
  19. 2
      es6_modules/chart/api.x.js
  20. 2
      es6_modules/chart/api.zoom.js
  21. 3
      es6_modules/chart/index.js
  22. 5943
      es6_modules/chartinternal.js
  23. 27
      es6_modules/internals/index.js

7370
c3.js

File diff suppressed because one or more lines are too long

2
es6_modules/axis/axis.js

@ -4,7 +4,7 @@ import {
isFunction,
isString,
isEmpty,
} from '../chartinternal';
} from '../internals/index';
import { inherit, API } from './index';
import c3_axis from './c3.axis';

2
es6_modules/chart/api.axis.js

@ -15,7 +15,7 @@ import {
sanitise,
getPathBox,
ChartInternal
} from '../chartinternal.js';
} from '../internals/index';
const axis = function () {};
axis.labels = function (labels) {

2
es6_modules/chart/api.category.js

@ -15,7 +15,7 @@ import {
sanitise,
getPathBox,
ChartInternal,
} from '../chartinternal.js';
} from '../internals/index';
const category = function (i, category) {
let $$ = this.internal, config = $$.config;

2
es6_modules/chart/api.chart.js

@ -15,7 +15,7 @@ import {
sanitise,
getPathBox,
ChartInternal
} from '../chartinternal.js';
} from '../internals/index';
const resize = function (size) {
let $$ = this.internal, config = $$.config;

2
es6_modules/chart/api.color.js

@ -15,7 +15,7 @@ import {
sanitise,
getPathBox,
ChartInternal
} from '../chartinternal.js';
} from '../internals/index';
// TODO: fix
const color = function (id) {

2
es6_modules/chart/api.data.js

@ -15,7 +15,7 @@ import {
sanitise,
getPathBox,
ChartInternal
} from '../chartinternal.js';
} from '../internals/index';
const data = function (targetIds) {
const targets = this.internal.data.targets;

2
es6_modules/chart/api.flow.js

@ -15,7 +15,7 @@ import {
sanitise,
getPathBox,
ChartInternal
} from '../chartinternal.js';
} from '../internals/index';
const flow = function (args) {
let $$ = this.internal,

2
es6_modules/chart/api.focus.js

@ -15,7 +15,7 @@ import {
sanitise,
getPathBox,
ChartInternal
} from '../chartinternal.js';
} from '../internals/index';
const focus = function (targetIds) {
let $$ = this.internal, candidates;

2
es6_modules/chart/api.grid.js

@ -15,7 +15,7 @@ import {
sanitise,
getPathBox,
ChartInternal
} from '../chartinternal.js';
} from '../internals/index';
const xgrids = function (grids) {
let $$ = this.internal, config = $$.config;

2
es6_modules/chart/api.group.js

@ -15,7 +15,7 @@ import {
sanitise,
getPathBox,
ChartInternal
} from '../chartinternal.js';
} from '../internals/index';
const groups = function (groups) {
let $$ = this.internal, config = $$.config;

2
es6_modules/chart/api.legend.js

@ -15,7 +15,7 @@ import {
sanitise,
getPathBox,
ChartInternal
} from '../chartinternal.js';
} from '../internals/index';
const legend = function () {};

2
es6_modules/chart/api.load.js

@ -15,7 +15,7 @@ import {
sanitise,
getPathBox,
ChartInternal
} from '../chartinternal.js';
} from '../internals/index';
const load = function (args) {
let $$ = this.internal, config = $$.config;

2
es6_modules/chart/api.region.js

@ -15,7 +15,7 @@ import {
sanitise,
getPathBox,
ChartInternal
} from '../chartinternal.js';
} from '../internals/index';
const regions = function (regions) {
let $$ = this.internal, config = $$.config;

2
es6_modules/chart/api.selection.js

@ -15,7 +15,7 @@ import {
sanitise,
getPathBox,
ChartInternal
} from '../chartinternal.js';
} from '../internals/index';
const selected = function (targetId) {
let $$ = this.internal, d3 = $$.d3;

2
es6_modules/chart/api.show.js

@ -15,7 +15,7 @@ import {
sanitise,
getPathBox,
ChartInternal
} from '../chartinternal.js';
} from '../internals/index';
const show = function (targetIds, options) {
let $$ = this.internal, targets;

2
es6_modules/chart/api.tooltip.js

@ -15,7 +15,7 @@ import {
sanitise,
getPathBox,
ChartInternal
} from '../chartinternal.js';
} from '../internals/index';
const tooltip = function () {};

2
es6_modules/chart/api.transform.js

@ -15,7 +15,7 @@ import {
sanitise,
getPathBox,
ChartInternal
} from '../chartinternal.js';
} from '../internals/index';
const transform = function (type, targetIds) {
let $$ = this.internal,

2
es6_modules/chart/api.x.js

@ -15,7 +15,7 @@ import {
sanitise,
getPathBox,
ChartInternal
} from '../chartinternal.js';
} from '../internals/index';
const x = function (x) {
const $$ = this.internal;

2
es6_modules/chart/api.zoom.js

@ -15,7 +15,7 @@ import {
sanitise,
getPathBox,
ChartInternal
} from '../chartinternal.js';
} from '../internals/index';
const zoom = function (domain) {
const $$ = this.internal;

3
es6_modules/chart/index.js

@ -1,4 +1,4 @@
import { ChartInternal } from '../chartinternal.js';
import { ChartInternal } from '../internals/index';
import { axis } from './api.axis';
import { category, categories } from './api.category';
@ -19,6 +19,7 @@ import { transform } from './api.transform';
import { x, xs } from './api.x';
import { zoom, unzoom } from './api.zoom';
let c3_chart_fn;
function Chart(config) {

5943
es6_modules/chartinternal.js

File diff suppressed because it is too large Load Diff

27
es6_modules/internals/index.js

@ -423,13 +423,6 @@ import {
isChrome
} from './ua';
import {
isValue,
asHalfPixel,
notEmpty,
getOption,
} from './util';
import {
initZoom,
getZoomDomain,
@ -437,6 +430,25 @@ import {
redrawForZoom,
} from './zoom';
import * as util from './util';
export const {
isValue,
isFunction,
isString,
isUndefined,
isDefined,
ceil10,
asHalfPixel,
diffDomain,
isEmpty,
notEmpty,
getOption,
hasValue,
sanitise,
getPathBox,
} = util;
// Start ChartInternal!!!!
function ChartInternal(api) {
const $$ = this;
@ -1816,3 +1828,4 @@ c3_chart_internal_fn.updateZoom = updateZoom;
c3_chart_internal_fn.redrawForZoom = redrawForZoom;
export { ChartInternal, c3_chart_internal_fn };
export { CLASS };

Loading…
Cancel
Save