JSFiddle - React, Tailwind, and code Playground

by Karl Hui

JavaScript

var entrances = {
    "stops": [{
        "uri": "finch_station_bishop_entrance",
        "name": "Finch Station Bishop Entrance",
        "routes": [],
        "agency": "Toronto Transit Commission"
    }, {
        "uri": "finch_station_bus_bay",
        "name": "Finch Station Bus Bay",
        "routes": [{
            "uri": "36_finch_west",
            "route_group_id": "32",
            "stop_times": [{
                "service_id": 1,
                "shape": "36B Finch West To Humberwood",
                "departure_timestamp": 1402619334,
                "departure_time": "8:28p"
            }, {
                "service_id": 1,
                "shape": "36B Finch West To Humberwood",
                "departure_timestamp": 1402619739,
                "departure_time": "8:35p"
            }, {
                "service_id": 1,
                "shape": "36B Finch West To Humberwood",
                "departure_timestamp": 1402620144,
                "departure_time": "8:42p"
            }, {
                "service_id": 1,
                "shape": "36D Finch West To Weston Road And Milvan",
                "departure_timestamp": 1402653669,
                "departure_time": "6:01a"
            }, {
                "service_id": 1,
                "shape": "36D Finch West To Weston Road And Milvan",
                "departure_timestamp": 1402654629,
                "departure_time": "6:17a"
            }, {
                "service_id": 1,
                "shape": "36A Finch West To Kipling",
                "departure_timestamp": 1402654749,
                "departure_time": "6:19a"
            }, {
                "service_id": 1,
                "shape": "36C Finch West To Jane",
                "departure_timestamp": 1402655109,
                "departure_time": "6:25a"
            }, {
                "service_id": 1,
                "shape": "36A Finch West To Kipling",
                "departure_timestamp": 1402655229,
               ...