We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25631b3 commit ffbb530Copy full SHA for ffbb530
src/utils.js
@@ -6,7 +6,7 @@
6
*/
7
8
(function() {
9
- var lodash = require('lodash');
+ var merge = require('lodash/merge');
10
11
function Utils() {
12
}
@@ -43,7 +43,7 @@
43
44
Utils.prototype.safeConfig = function(cfg, defaultConfig) {
45
var newCfg = {};
46
- lodash.merge(newCfg, defaultConfig, cfg);
+ merge(newCfg, defaultConfig, cfg);
47
return newCfg;
48
};
49
0 commit comments