UNPKG

@launchmenu/core

Version:

An environment for visual keyboard controlled applets

14 lines 1.06 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addBindingCreatorRequirement = void 0; /** * Adds a requirement to createBinding such that it only accepts bindings that are directly or indirectly for the specified target action * @param action The action to add the createBinding requirement to * @param targetAction The action that the meta bindings should be fore * @returns The same input action with the additional input requirement */ function addBindingCreatorRequirement(action, targetAction) { return action; } exports.addBindingCreatorRequirement = addBindingCreatorRequirement; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkQmluZGluZ0NyZWF0b3JSZXF1aXJlbWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hY3Rpb25zL3V0aWxzL2FkZEJpbmRpbmdDcmVhdG9yUmVxdWlyZW1lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBUUE7Ozs7O0dBS0c7QUFDSCxTQUFnQiw0QkFBNEIsQ0FDeEMsTUFBUyxFQUNULFlBQWU7SUFxQmYsT0FBTyxNQUFhLENBQUM7QUFDekIsQ0FBQztBQXhCRCxvRUF3QkMifQ==