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 1ec6118 commit a79df01Copy full SHA for a79df01
bit-docs.js
@@ -3,8 +3,11 @@ var _ = require("lodash");
3
var tags = require("./tags/tags");
4
5
var mergeOnto = function(prop, dest, source){
6
+ if(!dest[prop]) {
7
+ dest[prop] = {};
8
+ }
9
if(source[prop]) {
- dest[prop] = dest[prop].concat(source[prop])
10
+ dest[prop] = dest[prop].concat(source[prop]);
11
}
12
};
13
0 commit comments