Init. Map does not function and only working on backend at the moment.

This commit is contained in:
eetnaviation
2024-03-15 22:15:20 +02:00
commit d521b9db0c
1488 changed files with 252767 additions and 0 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"
}
}
}