11 lines
1.8 KiB
JavaScript
11 lines
1.8 KiB
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
const constants_1 = require("../test-run/execute-js-expression/constants");
|
||
|
const callsite_record_1 = require("callsite-record");
|
||
|
const raw_command_callsite_record_1 = require("./raw-command-callsite-record");
|
||
|
function default_1(callsite) {
|
||
|
return (callsite === null || callsite === void 0 ? void 0 : callsite.constructor.name) === constants_1.CALLSITE_RECORD_CLASS_NAME ? callsite_record_1.renderers : raw_command_callsite_record_1.renderers;
|
||
|
}
|
||
|
exports.default = default_1;
|
||
|
module.exports = exports.default;
|
||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LXJlbmRlcmVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3V0aWxzL2dldC1yZW5kZXJlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDJFQUF5RjtBQUN6RixxREFBK0U7QUFDL0UsK0VBQXdHO0FBSXhHLG1CQUF5QixRQUFtRDtJQUN4RSxPQUFPLENBQUEsUUFBUSxhQUFSLFFBQVEsdUJBQVIsUUFBUSxDQUFFLFdBQVcsQ0FBQyxJQUFJLE1BQUssc0NBQTBCLENBQUMsQ0FBQyxDQUFDLDJCQUFlLENBQUMsQ0FBQyxDQUFDLHVDQUFnQixDQUFDO0FBQzFHLENBQUM7QUFGRCw0QkFFQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENBTExTSVRFX1JFQ09SRF9DTEFTU19OQU1FIH0gZnJvbSAnLi4vdGVzdC1ydW4vZXhlY3V0ZS1qcy1leHByZXNzaW9uL2NvbnN0YW50cyc7XG5pbXBvcnQgeyBDYWxsc2l0ZVJlY29yZCwgcmVuZGVyZXJzIGFzIHJlbmRlcmVyc1JlY29yZCB9IGZyb20gJ2NhbGxzaXRlLXJlY29yZCc7XG5pbXBvcn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