main
Last change
on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
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.