Skip to content

Commit 08b8470

Browse files
committedSep 20, 2020
💥 BREAKING CHANGE: Remove insertionsort.
Implemented at https://github.com/aureooms/js-insertion-sort
1 parent 3ec927b commit 08b8470

File tree

5 files changed

+0
-20
lines changed

5 files changed

+0
-20
lines changed
 

‎doc/manual/example.md

-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ a ; // [ 6 , 5 , 4 , 3 , 2 , 1 ]
2222

2323
// but also
2424

25-
/** insertionsort */
26-
let insertionsort = sort.insertionsort ;
2725
/** selectionsort */
2826
let selectionsort = sort.selectionsort ;
2927
/** bubblesort */

‎src/sort/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
export * from './bubblesort' ;
22
export * from './fordjohnson' ;
3-
export * from './insertionsort' ;
43
export * from './selectionsort' ;

‎src/sort/insertionsort.js

-15
This file was deleted.

‎test/src/inplacesort.js

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import * as spec from "@aureooms/js-in-situ-sort-spec" ;
66
import * as sort from "../../src" ;
77

88
spec.test( ava , [
9-
[ "insertionsort", sort.insertionsort ],
109
[ "selectionsort", sort.selectionsort ],
1110
[ "bubblesort", sort.bubblesort ],
1211
[ "fordjohnson" , function ( compare , a , i , j ) {

‎test/src/whole.js

-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ function ( args ) {
5050
itertools.product( [
5151

5252
[
53-
[ "insertionsort", sort.insertionsort ],
5453
[ "selectionsort", sort.selectionsort ],
5554
[ "bubblesort", sort.bubblesort ],
5655
[ "fordjohnson" , function ( compare , a , i , j ) {

0 commit comments

Comments
 (0)
Please sign in to comment.