Skip to content

Commit

Permalink
Add comment for boundingInterval.
Browse files Browse the repository at this point in the history
  • Loading branch information
danvk committed Mar 13, 2015
1 parent 1d81028 commit 44e5a80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Interval.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class Interval {
return result;
}

// Returns an interval which contains all the given intervals.
static boundingInterval(intervals: Array<Interval>): Interval {
if (!intervals.length) {
throw new Error('Tried to bound zero intervals');
Expand Down

0 comments on commit 44e5a80

Please sign in to comment.