Updated script that can be controled by Nodejs web app
This commit is contained in:
3
node_modules/to-array/.npmignore
generated
vendored
Normal file
3
node_modules/to-array/.npmignore
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
node_modules
|
||||
*.log
|
||||
*.err
|
19
node_modules/to-array/LICENCE
generated
vendored
Normal file
19
node_modules/to-array/LICENCE
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
Copyright (c) 2012 Raynos.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
22
node_modules/to-array/README.md
generated
vendored
Normal file
22
node_modules/to-array/README.md
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
# to-array
|
||||
|
||||
Turn an array like into an array
|
||||
|
||||
## Example
|
||||
|
||||
``` js
|
||||
var toArray = require("to-array")
|
||||
, elems = document.links
|
||||
|
||||
var array = toArray(elems)
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
`npm install to-array`
|
||||
|
||||
## Contributors
|
||||
|
||||
- Raynos
|
||||
|
||||
## MIT Licenced
|
13
node_modules/to-array/index.js
generated
vendored
Normal file
13
node_modules/to-array/index.js
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
module.exports = toArray
|
||||
|
||||
function toArray(list, index) {
|
||||
var array = []
|
||||
|
||||
index = index || 0
|
||||
|
||||
for (var i = index || 0; i < list.length; i++) {
|
||||
array[i - index] = list[i]
|
||||
}
|
||||
|
||||
return array
|
||||
}
|
37
node_modules/to-array/package.json
generated
vendored
Normal file
37
node_modules/to-array/package.json
generated
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
"name": "to-array",
|
||||
"version": "0.1.4",
|
||||
"description": "Turn an array like into an array",
|
||||
"keywords": [],
|
||||
"author": "Raynos <raynos2@gmail.com>",
|
||||
"repository": "git://github.com/Raynos/to-array.git",
|
||||
"main": "index",
|
||||
"homepage": "https://github.com/Raynos/to-array",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Jake Verbaten"
|
||||
}
|
||||
],
|
||||
"bugs": {
|
||||
"url": "https://github.com/Raynos/to-array/issues",
|
||||
"email": "raynos2@gmail.com"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"tap": "~0.3.1"
|
||||
},
|
||||
"licenses": [
|
||||
{
|
||||
"type": "MIT",
|
||||
"url": "http://github.com/Raynos/to-array/raw/master/LICENSE"
|
||||
}
|
||||
],
|
||||
"scripts": {
|
||||
"test": "tap --stderr --tap ./test"
|
||||
},
|
||||
"component": {
|
||||
"scripts": {
|
||||
"to-array/index.js": "index.js"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user