Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bundled surrender-cube for now

  • Loading branch information...
commit b9a2732125da34de483d5678b8039498b0c453aa 1 parent 02a7311
@substack authored
Showing with 10 additions and 1 deletion.
  1. +1 −0  node_modules/surrender-cube
  2. +2 −1  package.json
  3. +7 −0 server.js
1  node_modules/surrender-cube
@@ -0,0 +1 @@
+Subproject commit 2c5d8a7d63a2a4e2a069c9df6cbda0d25b7d777a
View
3  package.json
@@ -2,8 +2,9 @@
"name": "surrender-cube.nodejitsu.com",
"version": "0.0.0",
"dependencies" : {
- "surrender-cube" : "0.0.x"
+ "charm" : "0.0.x"
},
+ "bundledDependences" : [ "surrender-cube" ],
"scripts": {
"start": "./server.js"
},
View
7 server.js
@@ -0,0 +1,7 @@
+var http = require('http');
+var cube = require('surrender-cube');
+var charm = require('charm');
+
+http.createServer(function (req, res) {
+ cube({ charm : charm(req, res) });
+}).listen(8080);

0 comments on commit b9a2732

Please sign in to comment.
Something went wrong with that request. Please try again.