Mercurial > p > roundup > code
view 3rdparty/bootstrap/js/tests/server.js @ 5018:7cfd30cc8cfa
website: Reword code section, explain are why using SF and
Mercurial to host our sources and link to unnoficial GitHub
mirror
| author | anatoly techtonik <techtonik@gmail.com> |
|---|---|
| date | Fri, 08 Jan 2016 18:04:32 +0300 |
| parents | c109f7c1e477 |
| children |
line wrap: on
line source
/* * Simple connect server for phantom.js * Adapted from Modernizr */ var connect = require('connect') , http = require('http') , fs = require('fs') , app = connect() .use(connect.static(__dirname + '/../../')); http.createServer(app).listen(3000); fs.writeFileSync(__dirname + '/pid.txt', process.pid, 'utf-8')
