UNPKG

core-resource-app-test

Version:

App that contains assets and scripts for the core apps

22 lines (17 loc) 516 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = { processors: {}, addPostProcessor: function addPostProcessor(module) { this.processors[module.name] = module; }, handle: function handle(processors, value, key, options, translator) { var _this = this; processors.forEach(function (processor) { if (_this.processors[processor]) value = _this.processors[processor].process(value, key, options, translator); }); return value; } };