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:
672 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
3 | exports.backgroundPosition = void 0;
|
---|
4 | var parser_1 = require("../syntax/parser");
|
---|
5 | var length_percentage_1 = require("../types/length-percentage");
|
---|
6 | exports.backgroundPosition = {
|
---|
7 | name: 'background-position',
|
---|
8 | initialValue: '0% 0%',
|
---|
9 | type: 1 /* LIST */,
|
---|
10 | prefix: false,
|
---|
11 | parse: function (_context, tokens) {
|
---|
12 | return parser_1.parseFunctionArgs(tokens)
|
---|
13 | .map(function (values) { return values.filter(length_percentage_1.isLengthPercentage); })
|
---|
14 | .map(length_percentage_1.parseLengthPercentageTuple);
|
---|
15 | }
|
---|
16 | };
|
---|
17 | //# sourceMappingURL=background-position.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.