|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
315 bytes
|
| Line | |
|---|
| 1 | var configuration = require('../configuration');
|
|---|
| 2 |
|
|---|
| 3 | function restoreWithComponents(property) {
|
|---|
| 4 | var descriptor = configuration[property.name];
|
|---|
| 5 |
|
|---|
| 6 | if (descriptor && descriptor.shorthand) {
|
|---|
| 7 | return descriptor.restore(property, configuration);
|
|---|
| 8 | }
|
|---|
| 9 | return property.value;
|
|---|
| 10 | }
|
|---|
| 11 |
|
|---|
| 12 | module.exports = restoreWithComponents;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.