Skip to content

Commit

Permalink
💥 BREAKING CHANGE: Remove insertionsort.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Sep 20, 2020
1 parent 3ec927b commit 08b8470
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 20 deletions.
2 changes: 0 additions & 2 deletions doc/manual/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ a ; // [ 6 , 5 , 4 , 3 , 2 , 1 ]

// but also

/** insertionsort */
let insertionsort = sort.insertionsort ;
/** selectionsort */
let selectionsort = sort.selectionsort ;
/** bubblesort */
Expand Down
1 change: 0 additions & 1 deletion src/sort/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export * from './bubblesort' ;
export * from './fordjohnson' ;
export * from './insertionsort' ;
export * from './selectionsort' ;
15 changes: 0 additions & 15 deletions src/sort/insertionsort.js

This file was deleted.

1 change: 0 additions & 1 deletion test/src/inplacesort.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import * as spec from "@aureooms/js-in-situ-sort-spec" ;
import * as sort from "../../src" ;

spec.test( ava , [
[ "insertionsort", sort.insertionsort ],
[ "selectionsort", sort.selectionsort ],
[ "bubblesort", sort.bubblesort ],
[ "fordjohnson" , function ( compare , a , i , j ) {
Expand Down
1 change: 0 additions & 1 deletion test/src/whole.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ function ( args ) {
itertools.product( [

[
[ "insertionsort", sort.insertionsort ],
[ "selectionsort", sort.selectionsort ],
[ "bubblesort", sort.bubblesort ],
[ "fordjohnson" , function ( compare , a , i , j ) {
Expand Down

0 comments on commit 08b8470

Please sign in to comment.