1 | var fs = require('fs');
|
2 | var getIntersection = require('./get-intersection');
|
3 |
|
4 | var parsers = {
|
5 | mirror : function(template, inputObj) {
|
6 | return getIntersection(template, inputObj);
|
7 | }
|
8 | }
|
9 |
|
10 |
|
11 | module.exports = function(parserName){
|
12 | return parsers[parserName] || function(){return {}};
|
13 | }; |
\ | No newline at end of file |