Skip to content

Commit

Permalink
fix(export): all the correct directives are now properly exported
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWalker committed Feb 4, 2016
1 parent 368ee1c commit b00a30b
Showing 1 changed file with 22 additions and 25 deletions.
47 changes: 22 additions & 25 deletions ng2-bootstrap.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import {Accordion, AccordionPanel} from './components/accordion';
import {ACCORDION_DIRECTIVES} from './components/accordion';
import {Alert} from './components/alert';
import {ButtonCheckbox, ButtonRadio} from './components/buttons';
import {Carousel, Slide} from './components/carousel';
import {BUTTON_DIRECTIVES} from './components/buttons';
import {CAROUSEL_DIRECTIVES} from './components/carousel';
import {Collapse} from './components/collapse';
import {DatePicker} from './components/datepicker';
import {Dropdown} from './components/dropdown';
import {Pagination, Pager} from './components/pagination';
import {Progressbar, Progress} from './components/progressbar';
import {DATEPICKER_DIRECTIVES} from './components/datepicker';
import {DROPDOWN_DIRECTIVES} from './components/dropdown';
import {PAGINATION_DIRECTIVES} from './components/pagination';
import {PROGRESSBAR_DIRECTIVES} from './components/progressbar';
import {Rating} from './components/rating';
import {Tabset, Tab, TabHeading} from './components/tabs';
import {TAB_DIRECTIVES} from './components/tabs';
import {Timepicker} from './components/timepicker';
import {Tooltip} from './components/tooltip';
import {Typeahead} from './components/typeahead';
import {TOOLTIP_DIRECTIVES} from './components/tooltip';
import {TYPEAHEAD_DIRECTIVES} from './components/typeahead';

export * from './components/accordion';
export * from './components/alert';
Expand All @@ -33,22 +33,19 @@ export * from './components/common'
export * from './components/ng2-bootstrap-config';

export default {
directives: [Dropdown, Progress, Tab, TabHeading],
components: [
Accordion,
AccordionPanel,
ButtonCheckbox,
ButtonRadio,
Carousel,
Slide,
Collapse,
DatePicker,
Pagination,
Pager,
directives: [
ACCORDION_DIRECTIVES,
BUTTON_DIRECTIVES,
CAROUSEL_DIRECTIVES,
Collapse,
DATEPICKER_DIRECTIVES,
DROPDOWN_DIRECTIVES,
PAGINATION_DIRECTIVES,
PROGRESSBAR_DIRECTIVES,
Rating,
Tabset,
TAB_DIRECTIVES,
Timepicker,
Tooltip,
Typeahead
TOOLTIP_DIRECTIVES,
TYPEAHEAD_DIRECTIVES
]
}

0 comments on commit b00a30b

Please sign in to comment.