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