
var express = require("express");
var app = express.createServer();

app.configure('development', function(){
  app.use(express.static(__dirname + '/public'));
});


app.listen(3000);

@@ -36,35 +36,124 @@
 var 
-app = express.createServer(
+sharejs = require(%22share%22).server;%0A%0Avar app = express.createServer();%0A%0Asharejs.attach(app, %7B%0A  db:%7B type: %22none%22 %7D%0A%7D
 );%0A%0A
@@ -249,16 +249,16 @@
 ;%0A%7D);%0A%0A%0A
-
 app.list
@@ -264,11 +264,85 @@
 ten(3000
+, function() %7B%0A  console.log(%22Now listening on http://localhost:3000/%22);%0A%7D
 );%0A

Attach ShareJS to the example server.