import defaultSettings from './defaultSettings';
import { init } from './init';
import { colorScale } from './colorScale';
import { layout } from './layout';
import { controls } from './controls';
import { eventListeners } from './eventListeners';
import { AETable } from './AETable';
import { detailTable } from './detailTable';
import { util } from './util';

export default function(element = 'body', config = defaultSettings) {
    let chart =
        {element: element
        ,config: config
        ,init: init
        ,colorScale: colorScale
        ,layout: layout
        ,controls: controls
        ,eventListeners: eventListeners
        ,AETable: AETable
        ,detailTable: detailTable
        ,util: util};

    return chart;
}

@@ -66,16 +66,22 @@
 from './
+chart/
 init';%0Ai
@@ -109,16 +109,22 @@
 from './
+chart/
 colorSca
@@ -154,16 +154,22 @@
 from './
+chart/
 layout';
@@ -197,16 +197,22 @@
 from './
+chart/
 controls
@@ -248,16 +248,22 @@
 from './
+chart/
 eventLis
@@ -298,16 +298,22 @@
 from './
+chart/
 AETable'
@@ -345,16 +345,22 @@
 from './
+chart/
 detailTa
@@ -389,16 +389,22 @@
 from './
+chart/
 util';%0A%0A

update paths