@launchmenu/core
Version:
An environment for visual keyboard controlled applets
14 lines • 960 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.addBindingRequirement = void 0;
/**
* Adds a requirement to the `process` argument to only accept bindings that are directly or indirectly for the specified action
* @param func The function to add the requirement to
* @param action The action that the bindings should be for
* @returns The same function with the additional input requirement
*/
function addBindingRequirement(func, action) {
return func;
}
exports.addBindingRequirement = addBindingRequirement;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkQmluZGluZ1JlcXVpcmVtZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2FjdGlvbnMvdXRpbHMvYWRkQmluZGluZ1JlcXVpcmVtZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUlBOzs7OztHQUtHO0FBQ0gsU0FBZ0IscUJBQXFCLENBTWpDLElBQW9DLEVBQ3BDLE1BQVM7SUFPVCxPQUFPLElBQVcsQ0FBQztBQUN2QixDQUFDO0FBZkQsc0RBZUMifQ==