Showing
1 changed file
with
0 additions
and
31 deletions
testcode/@
deleted
100644 → 0
1 | -var express = require('express'); | ||
2 | -var router = express.Router(); | ||
3 | - | ||
4 | -const Xports = require('../test1.js'); | ||
5 | -const Zum = require('../test2.js'); | ||
6 | -const Chosun = require('../test3.js'); | ||
7 | -const zum = Zum.zum; | ||
8 | -const chosun = Chosun.chosun; | ||
9 | - | ||
10 | -exports().then(a => { | ||
11 | - console.log(a); | ||
12 | -}); | ||
13 | - | ||
14 | -const xports = new Array(); | ||
15 | - | ||
16 | -router.get('/', function(req, res, next){ | ||
17 | - | ||
18 | - res.render('index', { | ||
19 | - xports : xports, | ||
20 | - zum : zum, | ||
21 | - chosun : chosun, | ||
22 | - // yna : yna | ||
23 | - }); | ||
24 | -}); | ||
25 | - | ||
26 | -console.log("aaaa\n"); | ||
27 | -for(var i in xports){ | ||
28 | - console.log("aaaa\n"); | ||
29 | - console.log(i.datetime); | ||
30 | -} | ||
31 | -module.exports = router; |
-
Please register or login to post a comment