Sha256: 601c1b25fa018878c470df2304505d2e7a05c8e6fc3247622993ee574cd2fa89

Contents?: true

Size: 637 Bytes

Versions: 26

Compression:

Stored size: 637 Bytes

Contents

'use strict';

Object.defineProperty(exports, "__esModule", {
    value: true
});

var _parseTrbl = require('./parseTrbl');

var _parseTrbl2 = _interopRequireDefault(_parseTrbl);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = v => {
    const value = (0, _parseTrbl2.default)(v);

    if (value[3] === value[1]) {
        value.pop();

        if (value[2] === value[0]) {
            value.pop();

            if (value[0] === value[1]) {
                value.pop();
            }
        }
    }

    return value.join(' ');
};

module.exports = exports['default'];

Version data entries

26 entries across 25 versions & 8 rubygems

Version Path
ezii-os-5.2.1 node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
ezii-os-2.0.1 node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
ezii-os-1.1.0 node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
ezii-os-1.0.0 node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
ezii-os-0.0.0.1.0 node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
ezii-os-0.0.0.0.1 node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js