Simulator first commit
This commit is contained in:
2
node_modules/indexof/.npmignore
generated
vendored
Normal file
2
node_modules/indexof/.npmignore
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
components
|
||||
build
|
11
node_modules/indexof/Makefile
generated
vendored
Normal file
11
node_modules/indexof/Makefile
generated
vendored
Normal 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
15
node_modules/indexof/Readme.md
generated
vendored
Normal 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
10
node_modules/indexof/component.json
generated
vendored
Normal 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
10
node_modules/indexof/index.js
generated
vendored
Normal 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;
|
||||
};
|
42
node_modules/indexof/package.json
generated
vendored
Normal file
42
node_modules/indexof/package.json
generated
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
"_from": "indexof@0.0.1",
|
||||
"_id": "indexof@0.0.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=",
|
||||
"_location": "/indexof",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "indexof@0.0.1",
|
||||
"name": "indexof",
|
||||
"escapedName": "indexof",
|
||||
"rawSpec": "0.0.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "0.0.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/engine.io-client",
|
||||
"/socket.io-client"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz",
|
||||
"_shasum": "82dc336d232b9062179d05ab3293a66059fd435d",
|
||||
"_spec": "indexof@0.0.1",
|
||||
"_where": "/home/sergiu/linx-audio-simulator/node_modules/socket.io-client",
|
||||
"bundleDependencies": false,
|
||||
"component": {
|
||||
"scripts": {
|
||||
"indexof/index.js": "index.js"
|
||||
}
|
||||
},
|
||||
"dependencies": {},
|
||||
"deprecated": false,
|
||||
"description": "Microsoft sucks",
|
||||
"keywords": [
|
||||
"index",
|
||||
"array",
|
||||
"indexOf"
|
||||
],
|
||||
"name": "indexof",
|
||||
"version": "0.0.1"
|
||||
}
|
Reference in New Issue
Block a user