main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
369 bytes
|
Rev | Line | |
---|
[d565449] | 1 | export default function prefixValue(plugins, property, value, style, metaData) {
|
---|
| 2 | for (var i = 0, len = plugins.length; i < len; ++i) {
|
---|
| 3 | var processedValue = plugins[i](property, value, style, metaData);
|
---|
| 4 |
|
---|
| 5 | // we can stop processing if a value is returned
|
---|
| 6 | // as all plugin criteria are unique
|
---|
| 7 | if (processedValue) {
|
---|
| 8 | return processedValue;
|
---|
| 9 | }
|
---|
| 10 | }
|
---|
| 11 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.