1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-04 21:20:07 +02:00

update some packages and remove node_modules from repo

This commit is contained in:
s2
2019-03-09 16:38:04 +01:00
parent 3dcadb39c2
commit d24a82e91e
94766 changed files with 290 additions and 858252 deletions

View File

@@ -1,25 +0,0 @@
# electron-is-accelerator
Check if a string is a valid [Electron accelerator](https://github.com/electron/electron/blob/master/docs/api/accelerator.md) and return a boolean. This module can be used to validate user defined accelerators before using them with [MenuItems](http://electron.atom.io/docs/api/menu-item/).
## Installation
```
$ npm install --save electron-is-accelerator
```
## Usage
```javascript
var isAccelerator = require("electron-is-accelerator");
isAccelerator("CommandOrControl+Shift+Z"); // true
isAccelerator("CommandOrControl+F9"); // true
isAccelerator("CommandOrContrl+F9"); // false
isAccelerator("A+Z"); // false
```
## License
The MIT License (MIT)
Copyright (c) 2016 Thomas Brouard