Removed GopherJS, basic frontend completed, need backend changes for

torrent storage
This commit is contained in:
2017-11-30 18:12:11 -05:00
parent 67fdef16b1
commit e98ad2cc88
69321 changed files with 5498914 additions and 337 deletions

View File

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

View File

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

View File

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

View File

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

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;
};

View File

@@ -0,0 +1,44 @@
{
"_args": [
[
"indexof@0.0.1",
"C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project"
]
],
"_from": "indexof@0.0.1",
"_id": "indexof@0.0.1",
"_inBundle": false,
"_integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=",
"_location": "/webpack/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": [
"/webpack/vm-browserify"
],
"_resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz",
"_spec": "0.0.1",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project",
"component": {
"scripts": {
"indexof/index.js": "index.js"
}
},
"dependencies": {},
"description": "Microsoft sucks",
"keywords": [
"index",
"array",
"indexOf"
],
"name": "indexof",
"version": "0.0.1"
}