Skip to content

Commit

Permalink
Merge pull request #159 from wesssel/master
Browse files Browse the repository at this point in the history
load merge from lodash instead of whole module
  • Loading branch information
rtfpessoa authored Jan 10, 2018
2 parents 25631b3 + ffbb530 commit 60ee73b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

(function() {
var lodash = require('lodash');
var merge = require('lodash/merge');

function Utils() {
}
Expand Down Expand Up @@ -43,7 +43,7 @@

Utils.prototype.safeConfig = function(cfg, defaultConfig) {
var newCfg = {};
lodash.merge(newCfg, defaultConfig, cfg);
merge(newCfg, defaultConfig, cfg);
return newCfg;
};

Expand Down

0 comments on commit 60ee73b

Please sign in to comment.