Skip to content

Commit

Permalink
Merge pull request #982 from jkruder/index-updates
Browse files Browse the repository at this point in the history
Update src/index.js to make use of nested index.js files
  • Loading branch information
Hai Nguyen committed Jul 1, 2015
2 parents 2565bfd + 998c882 commit f502358
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 27 deletions.
33 changes: 7 additions & 26 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,7 @@ module.exports = {
ListItem: require('./lists/list-item'),
Menu: require('./menu/menu'),
MenuItem: require('./menu/menu-item'),
Mixins: {
Classable: require('./mixins/classable'),
ClickAwayable: require('./mixins/click-awayable'),
WindowListenable: require('./mixins/window-listenable'),
StylePropable: require('./mixins/style-propable'),
StyleResizable: require('./mixins/style-resizable')
},
Mixins: require('./mixins/'),
Overlay: require('./overlay'),
Paper: require('./paper'),
RadioButton: require('./radio-button'),
Expand All @@ -50,18 +44,14 @@ module.exports = {
NavigationChevronLeft: require('./svg-icons/navigation/chevron-left'),
NavigationChevronRight: require('./svg-icons/navigation/chevron-right')
},
Styles: {
AutoPrefix: require('./styles/auto-prefix'),
Colors: require('./styles/colors'),
Spacing: require('./styles/spacing'),
ThemeManager: require('./styles/theme-manager'),
Transitions: require('./styles/transitions'),
Typography: require('./styles/typography')
},
Styles: require('./styles/'),
Snackbar: require('./snackbar'),
Tab: require('./tabs/tab'),
Table: require('./table/table'),
Tabs: require('./tabs/tabs'),
Table: require('./table/table'),
TableFooter: require('./table/table-footer'),
TableHeader: require('./table/table-header'),
TableHeaderColumn: require('./table/table-header-column'),
Theme: require('./theme'),
Toggle: require('./toggle'),
TimePicker: require('./time-picker'),
Expand All @@ -71,14 +61,5 @@ module.exports = {
ToolbarSeparator: require('./toolbar/toolbar-separator'),
ToolbarTitle: require('./toolbar/toolbar-title'),
Tooltip: require('./tooltip'),
Utils: {
CssEvent: require('./utils/css-event'),
Dom: require('./utils/dom'),
Events: require('./utils/events'),
KeyCode: require('./utils/key-code'),
KeyLine: require('./utils/key-line'),
ColorManipulator: require('./utils/color-manipulator'),
Extend: require('./utils/extend'),
UniqueId: require('./utils/unique-id')
}
Utils: require('./utils/')
};
3 changes: 2 additions & 1 deletion src/mixins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ module.exports = {
Classable: require('./classable'),
ClickAwayable: require('./click-awayable'),
WindowListenable: require('./window-listenable'),
StylePropable: require('./style-propable')
StylePropable: require('./style-propable'),
StyleResizable: require('./style-resizable')
};
6 changes: 6 additions & 0 deletions src/table/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
Table: require('./table'),
TableFooter: require('./table-footer'),
TableHeader: require('./table-header'),
TableHeaderColumn: require('./table-header-column')
};

0 comments on commit f502358

Please sign in to comment.