Opal-Estate-Pro/node_modules/postcss-merge-longhand/dist/lib/getLastNode.js

13 lines
274 B
JavaScript
Raw Normal View History

2019-09-13 06:27:52 +02:00
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
exports['default'] = function (rule, prop) {
return rule.nodes.filter(function (n) {
return n.prop && ~n.prop.indexOf(prop);
}).pop();
};
module.exports = exports['default'];