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
optimacms-0.1.61 spec/dummy/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
disco_app-0.18.0 test/dummy/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
disco_app-0.18.2 test/dummy/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
disco_app-0.16.1 test/dummy/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
disco_app-0.15.2 test/dummy/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
disco_app-0.18.4 test/dummy/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
disco_app-0.18.1 test/dummy/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
disco_app-0.14.0 test/dummy/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
tang-0.2.1 spec/tang_app/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
ruby2js-4.0.4 lib/tasks/testrails/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
ruby2js-4.0.3 lib/tasks/testrails/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
tang-0.2.0 spec/tang_app/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
tang-0.1.0 spec/tang_app/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
tang-0.0.9 spec/tang_app/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
enju_library-0.3.8 spec/dummy/node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js
jester-data-8.0.0 node_modules/postcss-merge-longhand/dist/lib/minifyTrbl.js