decord/source/1600_get options.js

21 lines
455 B
JavaScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 1600
// Function ID: 1601
2026-08-06 08:05:19 +00:00
// Name: get options
// Dependencies: [19]
2026-08-15 05:55:55 +00:00
// Module 1600 (get options)
2026-08-24 06:08:38 +00:00
import noopAll from "noop" /* 19 */;
2026-08-06 08:05:19 +00:00
const obj = {};
Object.defineProperty(obj, "options", {
get: () => {
2026-08-24 06:08:38 +00:00
error = new Error("Couldn't find a LinkingContext context.");
2026-08-06 08:05:19 +00:00
throw error;
},
set: undefined
});
2026-08-24 06:08:38 +00:00
const context = noopAll.createContext(obj);
2026-08-06 08:05:19 +00:00
context.displayName = "LinkingContext";
export const LinkingContext = context;