Last change
on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
457 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | function merge() {
|
---|
| 2 | var dest = {};
|
---|
| 3 |
|
---|
| 4 | for (var i = 0; i < arguments.length; i++) {
|
---|
| 5 | var src = arguments[i];
|
---|
| 6 | for (var key in src) {
|
---|
| 7 | dest[key] = src[key];
|
---|
| 8 | }
|
---|
| 9 | }
|
---|
| 10 |
|
---|
| 11 | return dest;
|
---|
| 12 | }
|
---|
| 13 |
|
---|
| 14 | module.exports = require('./create').create(
|
---|
| 15 | merge(
|
---|
| 16 | require('./config/lexer'),
|
---|
| 17 | require('./config/parser'),
|
---|
| 18 | require('./config/walker')
|
---|
| 19 | )
|
---|
| 20 | );
|
---|
| 21 | module.exports.version = require('../../package.json').version;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.