Skip to content

Commit f2e72ba

Browse files
Esref Durnagajus
Esref Durna
authored andcommittedJun 2, 2017
refactor: converting lodash assign to es6 (#41)
converting lodash assign to es6
1 parent 97c010e commit f2e72ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/makeStreamConfig.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import validateConfig from './validateConfig';
99
* @returns {Object}
1010
*/
1111
const makeBorder = (border = {}) => {
12-
return _.assign({}, getBorderCharacters('honeywell'), border);
12+
return Object.assign({}, getBorderCharacters('honeywell'), border);
1313
};
1414

1515
/**
@@ -27,7 +27,7 @@ const makeColumns = (columnCount, columns = {}, columnDefault = {}) => {
2727
columns[index] = {};
2828
}
2929

30-
columns[index] = _.assign({
30+
columns[index] = Object.assign({
3131
alignment: 'left',
3232
paddingLeft: 1,
3333
paddingRight: 1,

0 commit comments

Comments
 (0)
Please sign in to comment.