Skip to content

Commit

Permalink
feat(package): export missed things from utils
Browse files Browse the repository at this point in the history
    fixes #1584, fixes #1590
  • Loading branch information
valorkin committed Feb 3, 2017
1 parent 9fd097f commit 54eb13d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 1 addition & 3 deletions src/carousel/carousel.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@

import { Component, Input, OnDestroy, Output, EventEmitter } from '@angular/core';

import { isBs3 } from '../utils/ng2-bootstrap-config';
import { isBs3, LinkedList } from '../utils';
import { SlideComponent } from './slide.component';
import { CarouselConfig } from './carousel.config';

import LinkedList from './../utils/linked-list.class';

export enum Direction {UNKNOWN, NEXT, PREV}

/**
Expand Down
4 changes: 1 addition & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@ export {
PopoverConfig, PopoverContainerComponent, PopoverDirective, PopoverModule
} from './popover';

export { isBs3 } from './utils/ng2-bootstrap-config';

export { OnChange } from './utils/decorators';
export { OnChange, LinkedList, isBs3, Trigger, Utils } from './utils';

export {
ComponentLoader, ComponentLoaderFactory, ContentRef
Expand Down
5 changes: 5 additions & 0 deletions src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export { OnChange } from './decorators';
export { LinkedList } from './linked-list.class';
export { isBs3 } from './ng2-bootstrap-config';
export { Trigger } from './trigger.class';
export { Utils } from './utils.class';
2 changes: 1 addition & 1 deletion src/utils/linked-list.class.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default class LinkedList <T> {
export class LinkedList <T> {

public length: number = 0;
protected head: any;
Expand Down

0 comments on commit 54eb13d

Please sign in to comment.