Updated script that can be controled by Nodejs web app

This commit is contained in:
mac OS
2024-11-25 12:24:18 +07:00
parent c440eda1f4
commit 8b0ab2bd3a
8662 changed files with 1803808 additions and 34 deletions

2
node_modules/indexof/.npmignore generated vendored Normal file
View File

@ -0,0 +1,2 @@
components
build

11
node_modules/indexof/Makefile generated vendored Normal file
View File

@ -0,0 +1,11 @@
build: components index.js
@component build
components:
@Component install
clean:
rm -fr build components template.js
.PHONY: clean

15
node_modules/indexof/Readme.md generated vendored Normal file
View File

@ -0,0 +1,15 @@
# indexOf
Lame indexOf thing, thanks microsoft
## Example
```js
var index = require('indexof');
index(arr, obj);
```
## License
MIT

10
node_modules/indexof/component.json generated vendored Normal file
View File

@ -0,0 +1,10 @@
{
"name": "indexof",
"description": "Microsoft sucks",
"version": "0.0.1",
"keywords": ["index", "array", "indexOf"],
"dependencies": {},
"scripts": [
"index.js"
]
}

10
node_modules/indexof/index.js generated vendored Normal file
View File

@ -0,0 +1,10 @@
var indexOf = [].indexOf;
module.exports = function(arr, obj){
if (indexOf) return arr.indexOf(obj);
for (var i = 0; i < arr.length; ++i) {
if (arr[i] === obj) return i;
}
return -1;
};

12
node_modules/indexof/package.json generated vendored Normal file
View File

@ -0,0 +1,12 @@
{
"name": "indexof",
"description": "Microsoft sucks",
"version": "0.0.1",
"keywords": ["index", "array", "indexOf"],
"dependencies": {},
"component": {
"scripts": {
"indexof/index.js": "index.js"
}
}
}