You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
465 B
17 lines
465 B
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = prefixValue;
|
|
function prefixValue(plugins, property, value, style, metaData) {
|
|
for (var i = 0, len = plugins.length; i < len; ++i) {
|
|
var processedValue = plugins[i](property, value, style, metaData);
|
|
|
|
// we can stop processing if a value is returned
|
|
// as all plugin criteria are unique
|
|
if (processedValue) {
|
|
return processedValue;
|
|
}
|
|
}
|
|
} |