Made the imports more clear.
This commit is contained in:
parent
b2b7c05a32
commit
af0c2768e0
2 changed files with 3 additions and 3 deletions
|
|
@ -28,8 +28,7 @@ function to_json(page) {
|
|||
var result = cheerio('td:nth-child(3) table', page);
|
||||
var amount_of_days = cheerio(result).find('tr.AccentDark').find('td').length - 1;
|
||||
var amount_of_hours = 7;
|
||||
|
||||
|
||||
|
||||
var schedule_data = [];
|
||||
|
||||
//Looping for amount of days
|
||||
|
|
|
|||
3
web.js
3
web.js
|
|
@ -1,8 +1,9 @@
|
|||
//web.js
|
||||
var express = require('express');
|
||||
var app = express();
|
||||
|
||||
var lookup = require('./lookup.js');
|
||||
var schedule = require('./schedule.js');
|
||||
var app = express();
|
||||
|
||||
app.get('/', function (req, res) {
|
||||
res.send('Hello world!');
|
||||
|
|
|
|||
Loading…
Reference in a new issue