UNPKG

@caspingus/lt

Version:

A utility library of helpers and extensions useful when working with Learnosity APIs.

14 lines (13 loc) 538 B
import { LT as e } from "./core.js"; import { t } from "../extensionsRegistry-Cf-XVCyU.js"; //#region src/assessment/bundle.js var n = Object.freeze(Object.keys(t.assessment || {}).sort()), r = { ...e, async init(t, r = {}) { if (typeof t != "object" || !t) throw TypeError("LT.init(itemsApp, options): the first argument must be the Learnosity Items API instance object."); let { extensions: i } = r || {}, a = Array.isArray(i) && i.length > 0 ? i : n; return e.init(t, { extensions: a }); } }; //#endregion export { r as LT };