First run at squeezeBind, ref #32
This commit is contained in:
parent
ac409965d5
commit
357b0ee467
2 changed files with 71 additions and 13 deletions
|
|
@ -16,6 +16,11 @@ Fraction.prototype.wholeCycle = function () {
|
|||
return new TimeSpan(this.sam(), this.nextSam());
|
||||
};
|
||||
|
||||
// The position of a time value relative to the start of its cycle.
|
||||
Fraction.prototype.cyclePos = function () {
|
||||
return this.sub(this.sam());
|
||||
};
|
||||
|
||||
Fraction.prototype.lt = function (other) {
|
||||
return this.compare(other) < 0;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue