[Time Conductor] Update spec

...for TimeRangeController to reflect separation of date-time
inputs into a separate control.

Additionally, removed unused function.
This commit is contained in:
Victor Woeltjen
2015-10-27 14:05:55 -07:00
parent cc8a7e513f
commit 920c83771d
2 changed files with 14 additions and 80 deletions

View File

@ -45,14 +45,6 @@ define(
return formatter.format(ts);
}
function parseTimestamp(text) {
if (formatter.validate(text)) {
return formatter.parse(text);
} else {
throw new Error("Could not parse " + text);
}
}
// From 0.0-1.0 to "0%"-"100%"
function toPercent(p) {
return (100 * p) + "%";