wv-gotcha
Version:
 wv-local-service-bus # Purpose To accumulate your walkthroughs to accomplish your common tasks with less effort.
20 lines • 676 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Mcq_Walkthroughs = void 0;
const Mcq_1 = require("./Mcq");
class Mcq_Walkthroughs extends Mcq_1.Mcq {
static registerWalkthrough(walkthrough) {
this._allWalkthroughs.xAdd(walkthrough);
}
get _deduceOptionText() {
return option => option.text;
}
get options() {
const wkths = Mcq_Walkthroughs._allWalkthroughs;
const sorted = wkths.xSort((w1, w2) => w1.text.xCompareTo(w2.text));
return sorted;
}
}
exports.Mcq_Walkthroughs = Mcq_Walkthroughs;
Mcq_Walkthroughs._allWalkthroughs = [];
//# sourceMappingURL=Mcq_Walkthroughs.js.map