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