main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
457 bytes
|
Rev | Line | |
---|
[d565449] | 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.