Browse Source

Expose Components and ComponentsView in DomComponents

pull/506/merge
Artur Arseniev 8 years ago
parent
commit
e458c1d73b
  1. 14
      src/dom_components/index.js

14
src/dom_components/index.js

@ -33,10 +33,12 @@
* ... * ...
*/ */
module.exports = () => { module.exports = () => {
var c = {}, var c = {};
defaults = require('./config/config'), const defaults = require('./config/config');
Component = require('./model/Component'), const Component = require('./model/Component');
ComponentView = require('./view/ComponentView'); const ComponentView = require('./view/ComponentView');
const Components = require('./model/Components');
const ComponentsView = require('./view/ComponentsView');
var component, componentView; var component, componentView;
var componentTypes = [ var componentTypes = [
@ -104,6 +106,10 @@ module.exports = () => {
return { return {
Components,
ComponentsView,
componentTypes, componentTypes,
/** /**

Loading…
Cancel
Save