mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
21 lines
393 B
JavaScript
21 lines
393 B
JavaScript
|
function merge() {
|
||
|
var dest = {};
|
||
|
|
||
|
for (var i = 0; i < arguments.length; i++) {
|
||
|
var src = arguments[i];
|
||
|
for (var key in src) {
|
||
|
dest[key] = src[key];
|
||
|
}
|
||
|
}
|
||
|
|
||
|
return dest;
|
||
|
}
|
||
|
|
||
|
module.exports = require('./create').create(
|
||
|
merge(
|
||
|
require('./config/lexer'),
|
||
|
require('./config/parser'),
|
||
|
require('./config/walker')
|
||
|
)
|
||
|
);
|