mirror of
https://github.com/S2-/gitlit
synced 2025-08-04 13:10:09 +02:00
remove node_modules
This commit is contained in:
25
app/node_modules/electron-is-accelerator/README.md
generated
vendored
25
app/node_modules/electron-is-accelerator/README.md
generated
vendored
@@ -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
|
Reference in New Issue
Block a user