Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
469 bytes
|
Line | |
---|
1 | // Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.
|
---|
2 |
|
---|
3 | var errors = require('./errors');
|
---|
4 | var types = require('./types');
|
---|
5 |
|
---|
6 | var Reader = require('./reader');
|
---|
7 | var Writer = require('./writer');
|
---|
8 |
|
---|
9 |
|
---|
10 | // --- Exports
|
---|
11 |
|
---|
12 | module.exports = {
|
---|
13 |
|
---|
14 | Reader: Reader,
|
---|
15 |
|
---|
16 | Writer: Writer
|
---|
17 |
|
---|
18 | };
|
---|
19 |
|
---|
20 | for (var t in types) {
|
---|
21 | if (types.hasOwnProperty(t))
|
---|
22 | module.exports[t] = types[t];
|
---|
23 | }
|
---|
24 | for (var e in errors) {
|
---|
25 | if (errors.hasOwnProperty(e))
|
---|
26 | module.exports[e] = errors[e];
|
---|
27 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.