[Pkg-javascript-commits] [node-stream-http] 13/208: repo cleanup
Bastien Roucariès
rouca at moszumanska.debian.org
Sun Aug 13 13:39:23 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-stream-http.
commit c779668f862cc2cda9e2f062e9db0344f67a2e6d
Author: John Hiesey <john at hiesey.com>
Date: Thu Jul 2 14:44:13 2015 -0700
repo cleanup
---
.gitignore | 3 ++-
index.html | 41 --------------------------------------
index.js | 2 +-
capability.js => lib/capability.js | 0
request.js => lib/request.js | 0
response.js => lib/response.js | 0
6 files changed, 3 insertions(+), 43 deletions(-)
diff --git a/.gitignore b/.gitignore
index 8f52590..40179e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
**/.DS_Store
bundle.js
-node_modules
\ No newline at end of file
+node_modules
+.zuulrc
diff --git a/index.html b/index.html
deleted file mode 100644
index b066194..0000000
--- a/index.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="bundle.js"></script>
-</head>
-<body>
-<div id="result"></div>
-
-<script>
-// var req = http.request('/bundle.js')
-// req.on('response', function (res) {
-// res.on('data', function (buf) {
-// console.log('chunk:', buf.toString())
-// })
-// res.on('end', function () {
-// console.log('done!')
-// })
-// })
-// req.end()
-
-// var http = require('httpstream')
-
-http.get('//bundle.js', function (res) {
- var div = document.getElementById('result');
- div.innerHTML += 'GET /beep<br>';
-
- res.on('data', function (buf) {
- div.innerHTML += buf;
- });
-
- res.on('end', function () {
- div.innerHTML += '<br>__END__';
- });
-})
-
-
-</script>
-
-
-</body>
-</html>
\ No newline at end of file
diff --git a/index.js b/index.js
index 0f420e7..0f450e7 100644
--- a/index.js
+++ b/index.js
@@ -1,4 +1,4 @@
-var ClientRequest = require('./request')
+var ClientRequest = require('./lib/request')
var url = require('url')
var http = exports
diff --git a/capability.js b/lib/capability.js
similarity index 100%
rename from capability.js
rename to lib/capability.js
diff --git a/request.js b/lib/request.js
similarity index 100%
rename from request.js
rename to lib/request.js
diff --git a/response.js b/lib/response.js
similarity index 100%
rename from response.js
rename to lib/response.js
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-stream-http.git
More information about the Pkg-javascript-commits
mailing list