main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
343 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
3 | function parseTimeRanges(ranges) {
|
---|
4 | var result = [];
|
---|
5 | for (var i = 0; i < ranges.length; i++) {
|
---|
6 | result.push({
|
---|
7 | start: ranges.start(i),
|
---|
8 | end: ranges.end(i),
|
---|
9 | });
|
---|
10 | }
|
---|
11 | return result;
|
---|
12 | }
|
---|
13 | exports.default = parseTimeRanges;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.