'use strict';

var SliderTimelineModel = require('./SliderTimelineModel.js');
var SliderTimelineView = require('./SliderTimelineView.js');
var timelineAction = require('./timelineAction.js');
var preprocessor = require('./preprocessor.js');

function install(registers) {
  registers.registerComponentModel(SliderTimelineModel.default);
  registers.registerComponentView(SliderTimelineView.default);
  registers.registerSubTypeDefaulter('timeline', function () {
    // Only slider now.
    return 'slider';
  });
  timelineAction.installTimelineAction(registers);
  registers.registerPreprocessor(preprocessor.default);
}

exports.install = install;
