Browse Source

Fixed import of Configurator

codeClimate
jos 8 years ago
parent
commit
95fd8ed154
2 changed files with 7 additions and 4 deletions
  1. +3
    -2
      lib/timeline/Graph2d.js
  2. +4
    -2
      lib/timeline/Timeline.js

+ 3
- 2
lib/timeline/Graph2d.js View File

@ -11,12 +11,13 @@ var CurrentTime = require('./component/CurrentTime');
var CustomTime = require('./component/CustomTime');
var LineGraph = require('./component/LineGraph');
var Configurator = require('../shared/Configurator');
var Validator = require('../shared/Validator').default;
var printStyle = require('../shared/Validator').printStyle;
var allOptions = require('./optionsGraph2d').allOptions;
var configureOptions = require('./optionsGraph2d').configureOptions;
import Configurator from '../shared/Configurator';
import Validator from '../shared/Validator';
/**
* Create a timeline visualization
* @param {HTMLElement} container

+ 4
- 2
lib/timeline/Timeline.js View File

@ -11,12 +11,14 @@ var CurrentTime = require('./component/CurrentTime');
var CustomTime = require('./component/CustomTime');
var ItemSet = require('./component/ItemSet');
var Configurator = require('../shared/Configurator');
var Validator = require('../shared/Validator').default;
var printStyle = require('../shared/Validator').printStyle;
var allOptions = require('./optionsTimeline').allOptions;
var configureOptions = require('./optionsTimeline').configureOptions;
import Configurator from '../shared/Configurator';
import Validator from '../shared/Validator';
/**
* Create a timeline visualization
* @param {HTMLElement} container

Loading…
Cancel
Save