| Total Complexity | 0 |
| Complexity/F | 0 |
| Lines of Code | 20 |
| Function Count | 0 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | var mjml_templates = { |
||
| 2 | example1: { |
||
| 3 | racoon1: { id: 'tem_xxx', version: 'ver_xxx' }, |
||
| 4 | racoon2: { id: 'tem_xxx', version: 'ver_xxx' } |
||
| 5 | }, |
||
| 6 | example2: { |
||
| 7 | racoon1: { id: 'tem_xxx', version: 'ver_xxx' } |
||
| 8 | } |
||
| 9 | } |
||
| 10 | |||
| 11 | var config = { |
||
| 12 | swu_api_key: 'test_xxx', |
||
| 13 | path: 'test/templates', |
||
| 14 | mjml_src: 'test/mjml', |
||
| 15 | views_path: 'test/views/index', |
||
| 16 | port: 3001 |
||
| 17 | }; |
||
| 18 | |||
| 19 | swu_mjml = require('./lib/swu_mjml')(config, mjml_templates); |
||
|
|
|||
| 20 | swu_mjml.start() |
||
| 21 |