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,18 @@
This software is released under the MIT license:
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -0,0 +1,14 @@
var http = require('http');
var https = module.exports;
for (var key in http) {
if (http.hasOwnProperty(key)) https[key] = http[key];
};
https.request = function (params, cb) {
if (!params) params = {};
params.scheme = 'https';
params.protocol = 'https:';
return http.request.call(this, params, cb);
}

View File

@@ -0,0 +1,53 @@
{
"_args": [
[
"https-browserify@0.0.1",
"C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project"
]
],
"_from": "https-browserify@0.0.1",
"_id": "https-browserify@0.0.1",
"_inBundle": false,
"_integrity": "sha1-P5E2XKvmC3ftDruiS0VOPgnZWoI=",
"_location": "/webpack/https-browserify",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "https-browserify@0.0.1",
"name": "https-browserify",
"escapedName": "https-browserify",
"rawSpec": "0.0.1",
"saveSpec": null,
"fetchSpec": "0.0.1"
},
"_requiredBy": [
"/webpack/node-libs-browser"
],
"_resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-0.0.1.tgz",
"_spec": "0.0.1",
"_where": "C:\\Users\\deranjer\\GoglandProjects\\torrent-project\\torrent-project",
"author": {
"name": "James Halliday",
"email": "mail@substack.net",
"url": "http://substack.net"
},
"bugs": {
"url": "https://github.com/substack/https-browserify/issues"
},
"description": "https module compatability for browserify",
"homepage": "https://github.com/substack/https-browserify",
"keywords": [
"https",
"browser",
"browserify"
],
"license": "MIT",
"main": "index.js",
"name": "https-browserify",
"repository": {
"type": "git",
"url": "git://github.com/substack/https-browserify.git"
},
"version": "0.0.1"
}

View File

@@ -0,0 +1,22 @@
# https-browserify
https module compatability for browserify
# example
``` js
var https = require('https-browserify');
var r = https.request('https://github.com');
r.on('request', function (res) {
console.log(res);
});
```
# methods
The API is the same as the client portion of the
[node core https module](http://nodejs.org/docs/latest/api/https.html).
# license
MIT