'use strict';

var extension = require('../../extension.js');
var installLegendPlain = require('./installLegendPlain.js');
var ScrollableLegendModel = require('./ScrollableLegendModel.js');
var ScrollableLegendView = require('./ScrollableLegendView.js');
var scrollableLegendAction = require('./scrollableLegendAction.js');

function install(registers) {
  extension.use(installLegendPlain.install);
  registers.registerComponentModel(ScrollableLegendModel.default);
  registers.registerComponentView(ScrollableLegendView.default);
  scrollableLegendAction.default(registers);
}

exports.install = install;
