main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 5 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
507 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
3 | exports.duration = void 0;
|
---|
4 | var parser_1 = require("../syntax/parser");
|
---|
5 | var time_1 = require("../types/time");
|
---|
6 | exports.duration = {
|
---|
7 | name: 'duration',
|
---|
8 | initialValue: '0s',
|
---|
9 | prefix: false,
|
---|
10 | type: 1 /* LIST */,
|
---|
11 | parse: function (context, tokens) {
|
---|
12 | return tokens.filter(parser_1.isDimensionToken).map(function (token) { return time_1.time.parse(context, token); });
|
---|
13 | }
|
---|
14 | };
|
---|
15 | //# sourceMappingURL=duration.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.