source: trip-planner-front/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js@ e29cc2e

Last change on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 605 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = void 0;
7
8var _parseTrbl = _interopRequireDefault(require("./parseTrbl"));
9
10function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
12var _default = v => {
13 const value = (0, _parseTrbl.default)(v);
14
15 if (value[3] === value[1]) {
16 value.pop();
17
18 if (value[2] === value[0]) {
19 value.pop();
20
21 if (value[0] === value[1]) {
22 value.pop();
23 }
24 }
25 }
26
27 return value.join(' ');
28};
29
30exports.default = _default;
31module.exports = exports.default;
Note: See TracBrowser for help on using the repository browser.