Skip to content

Commit

Permalink
fix(carousel): _slides.add is not a function, by removing extend Array
Browse files Browse the repository at this point in the history
fixes #1516
  • Loading branch information
valorkin committed Jan 20, 2017
1 parent 7690e5d commit 7d454de
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 12 deletions.
6 changes: 0 additions & 6 deletions .eslintrc.json

This file was deleted.

2 changes: 0 additions & 2 deletions demo/src/app/index.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/spec/utils/linkedlist.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ describe('Linked List. Overridden (from Array) methods.', () => {
list.add('4');
list.add('5');
});
it('Check instance of Array', () => {
expect(list instanceof Array).toBeTruthy();
});

it('Check instance of indexOf', () => {
expect(list.indexOf('3')).toEqual(2);
Expand Down
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> extends Array {
export default class LinkedList <T> {

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

0 comments on commit 7d454de

Please sign in to comment.