Sha256: a1cdcc81fc50e492a717043421a18605f028ab099c3e51abdc270a8b68953143

Contents?: true

Size: 725 Bytes

Versions: 9

Compression:

Stored size: 725 Bytes

Contents

/* eslint import/no-unresolved: [2, { ignore: [foremanReact/*] }] */
/* eslint-disable import/no-extraneous-dependencies */
/* eslint-disable import/extensions */
import componentRegistry from 'foremanReact/components/componentRegistry';
import { registerReducer } from 'foremanReact/common/MountingService';
import reducers from './src/reducers';
import ForemanStatistics from './src/ForemanStatistics';
import * as trends from './src/trends';

Object.assign(window.tfm, { trends });

// register reducers
Object.entries(reducers).forEach(([key, reducer]) =>
  registerReducer(key, reducer)
);

// register components for erb mounting
componentRegistry.register({
  name: 'ForemanStatistics',
  type: ForemanStatistics,
});

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
foreman_statistics-2.1.0 webpack/index.js
foreman_statistics-2.0.1 webpack/index.js
foreman_statistics-2.0.0 webpack/index.js
foreman_statistics-1.2.0 webpack/index.js
foreman_statistics-1.1.1 webpack/index.js
foreman_statistics-1.1.0 webpack/index.js
foreman_statistics-1.0.0 webpack/index.js
foreman_statistics-0.1.3 webpack/index.js
foreman_statistics-0.1.2 webpack/index.js