lepu-test-platform-web/node_modules/postcss-merge-longhand/dist/lib/getDecls.js

11 lines
281 B
JavaScript
Raw Normal View History

"use strict";
exports.__esModule = true;
exports.default = getDecls;
function getDecls(rule, properties) {
return rule.nodes.filter(function (_ref) {
var prop = _ref.prop;
return prop && ~properties.indexOf(prop);
});
}
module.exports = exports["default"];