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

add node modules to repo

This commit is contained in:
s2
2018-06-03 13:47:11 +02:00
parent e8c95255e8
commit d002126b72
4115 changed files with 440218 additions and 7519 deletions

25
app/node_modules/electron-is-accelerator/README.md generated vendored Normal file
View File

@@ -0,0 +1,25 @@
# 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