1.2.6 • Published 6 years ago

nextcaltrain.com v1.2.6

Weekly downloads
4
License
Public Domain
Repository
github
Last release
6 years ago

nextcaltrain.com build status

Caltrain schedule web application

nextcaltrain

Caltrain schedule is provided by the nextcaltrain module.

Features

Self-contained HTML

The client application is contained in a single HTML payload with no external resources. This allows clients to retrieve and cache only a single resource and simplifies offline access.

See generate.js for how this HTML payload is generated.

localStorage

The last selected route will be saved to localStorage. The next time the application is used, this route will be loaded.

URL Hash

The URL hash will always represent the currently selected route. Updating the URL will also update the currently selected route. This URL is shareable with others.

Immutable state

The entire application state is represented as a single immutable value using the immutable module. State is updated by dispatching actions in a Flux-like manner. See ui/state.js.


Bugsnag

nextcaltrain.com uses Bugsnag to monitor errors. Bugsnag loves open source and has generously offered a free open source plan for nextcaltrain.com.