aboutsummaryrefslogtreecommitdiff
path: root/node_modules/indexof
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/indexof')
-rw-r--r--node_modules/indexof/.npmignore2
-rw-r--r--node_modules/indexof/Makefile11
-rw-r--r--node_modules/indexof/Readme.md15
-rw-r--r--node_modules/indexof/component.json10
-rw-r--r--node_modules/indexof/index.js10
-rw-r--r--node_modules/indexof/package.json12
6 files changed, 0 insertions, 60 deletions
diff --git a/node_modules/indexof/.npmignore b/node_modules/indexof/.npmignore
deleted file mode 100644
index 48a2e246c..000000000
--- a/node_modules/indexof/.npmignore
+++ /dev/null
@@ -1,2 +0,0 @@
-components
-build
diff --git a/node_modules/indexof/Makefile b/node_modules/indexof/Makefile
deleted file mode 100644
index 3f6119d22..000000000
--- a/node_modules/indexof/Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
-
-build: components index.js
- @component build
-
-components:
- @Component install
-
-clean:
- rm -fr build components template.js
-
-.PHONY: clean
diff --git a/node_modules/indexof/Readme.md b/node_modules/indexof/Readme.md
deleted file mode 100644
index 99c8dfc85..000000000
--- a/node_modules/indexof/Readme.md
+++ /dev/null
@@ -1,15 +0,0 @@
-
-# indexOf
-
- Lame indexOf thing, thanks microsoft
-
-## Example
-
-```js
-var index = require('indexof');
-index(arr, obj);
-```
-
-## License
-
- MIT \ No newline at end of file
diff --git a/node_modules/indexof/component.json b/node_modules/indexof/component.json
deleted file mode 100644
index e3430d75c..000000000
--- a/node_modules/indexof/component.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "name": "indexof",
- "description": "Microsoft sucks",
- "version": "0.0.1",
- "keywords": ["index", "array", "indexOf"],
- "dependencies": {},
- "scripts": [
- "index.js"
- ]
-} \ No newline at end of file
diff --git a/node_modules/indexof/index.js b/node_modules/indexof/index.js
deleted file mode 100644
index 9d9667b2c..000000000
--- a/node_modules/indexof/index.js
+++ /dev/null
@@ -1,10 +0,0 @@
-
-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;
-}; \ No newline at end of file
diff --git a/node_modules/indexof/package.json b/node_modules/indexof/package.json
deleted file mode 100644
index 79d009f41..000000000
--- a/node_modules/indexof/package.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "name": "indexof",
- "description": "Microsoft sucks",
- "version": "0.0.1",
- "keywords": ["index", "array", "indexOf"],
- "dependencies": {},
- "component": {
- "scripts": {
- "indexof/index.js": "index.js"
- }
- }
-} \ No newline at end of file