Opal-Estate-Pro/node_modules/csso/lib/compressor/compress/Atrule.js
2019-09-13 11:27:52 +07:00

10 lines
291 B
JavaScript
Executable File

var resolveKeyword = require('../../utils/names.js').keyword;
var compressKeyframes = require('./atrule/keyframes.js');
module.exports = function(node) {
// compress @keyframe selectors
if (resolveKeyword(node.name).name === 'keyframes') {
compressKeyframes(node);
}
};