chushihua
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
var compactable = require('./compactable');
|
||||
|
||||
function restoreWithComponents(property) {
|
||||
var descriptor = compactable[property.name];
|
||||
|
||||
if (descriptor && descriptor.shorthand) {
|
||||
return descriptor.restore(property, compactable);
|
||||
} else {
|
||||
return property.value;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = restoreWithComponents;
|
||||
Reference in New Issue
Block a user