Update config-loader.js

This commit is contained in:
RameshChoudhary 2016-03-24 05:34:00 +05:30
parent 5059ca7b4b
commit 14a74903ce
1 changed files with 2 additions and 2 deletions

View File

@ -291,9 +291,9 @@ function mergeArrays(target, config, keyPrefix) {
function mergeArraysDiffLength(target, config) {
var newTarget = lodash.cloneDeep(target, true);
//union of both the target and config arrays.
// Union of both the target and config arrays.
var union = lodash.union(newTarget, config);
//modifies the target array with the union.
// Modifies the target array with the union.
Array.prototype.splice.apply(target, [0, target.length].concat(union));
}