all da files

This commit is contained in:
jllord
2013-05-27 13:45:59 -07:00
commit 59d3d30afa
6704 changed files with 1954956 additions and 0 deletions

6
node_modules/ecstatic/example/core.js generated vendored Normal file
View File

@@ -0,0 +1,6 @@
var http = require('http');
var ecstatic = require('../lib/ecstatic')(__dirname + '/public');
http.createServer(ecstatic).listen(8080);
console.log('Listening on :8080');

9
node_modules/ecstatic/example/express.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
var express = require('express');
var ecstatic = require('../lib/ecstatic');
var http = require('http');
var app = express();
app.use(ecstatic(__dirname + '/public', { showdir : true }));
http.createServer(app).listen(8080);
console.log('Listening on :8080');

1
node_modules/ecstatic/example/public/beep/index.html generated vendored Normal file
View File

@@ -0,0 +1 @@
<b>boop!</b>

1
node_modules/ecstatic/example/public/hello.txt generated vendored Normal file
View File

@@ -0,0 +1 @@
Hello world!

View File

@@ -0,0 +1 @@
hello cruel world!

BIN
node_modules/ecstatic/example/public/turtle.png generated vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

10
node_modules/ecstatic/example/union.js generated vendored Normal file
View File

@@ -0,0 +1,10 @@
var union = require('union');
var ecstatic = require('../');
union.createServer({
before: [
ecstatic(__dirname + '/public')
]
}).listen(8080);
console.log('Listening on :8080');