|
function CatKeyframe(rule, index) {
|
|
this.key = rule.keyText;
|
|
this.rules = {};
|
|
this.index = index;
|
|
for (var i = 0; i < rule.style.length; i++) {
|
|
this.rules[rule.style[i]] = {
|
|
value: rule.style[rule.style[i]],
|
|
index: i
|
|
}
|
|
}
|
|
}
|
|
|
|
module.exports = CatKeyframe;
|