Skip to content

Commit

Permalink
minBy lodash wrapper function
Browse files Browse the repository at this point in the history
  • Loading branch information
mwasiluk committed Mar 7, 2017
1 parent 847c399 commit c386f35
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
7 changes: 6 additions & 1 deletion dist/sd-utils.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/sd-utils.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/sd-utils.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sd-utils",
"version": "0.1.2",
"version": "0.1.3",
"description": "SilverDecisions utils module",
"main": "./index.js",
"module": "index",
Expand Down
4 changes: 4 additions & 0 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,10 @@ export class Utils {
return _.maxBy.apply(_, arguments)
}

static minBy(){
return _.minBy.apply(_, arguments)
}

static debounce(){
return _.debounce.apply(_, arguments)
}
Expand Down

0 comments on commit c386f35

Please sign in to comment.