Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 2x 2x 11x 11x 11x 25x 25x 25x 11x | "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createHandler = void 0; var constants_1 = require("./constants"); function createHandler(plugins, extendHandler) { var handler = Object.create(extendHandler || null); var createdPlugins = handler[constants_1.PLUGINS] = extendHandler ? handler[constants_1.PLUGINS].slice() : []; for (var i = 0; i < plugins.length; i++) { var plugin = plugins[i](handler); if (plugin) { createdPlugins.push(plugin); } } return handler; } exports.createHandler = createHandler; |