Based on E.J. Marey’s graphical train schedule this position-time-diagram shows the stations on the x-axis and the time on the y-axis.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ch.sbb.touri.zusatzinfo; | |
interface Queryable { | |
boolean satisfies(Querying querying); | |
} | |
interface Querying { | |
boolean calculateWithValue(long value); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="lib/style.css"> | |
<script src="lib/script.js"></script> | |
</head> | |
<body> |
##Usage Select a text and set it to left or right. Then press compare to compare left and right.
Note: This example uses localStorage. That means you can use select text and diff in other instances of a window. And it means that example does not work on ancient browsers.
Used library for diffing https://github.com/kpdecker/jsdiff.