old_contents: 
  var express = require("express");
  var app = express.createServer();
  
  app.configure('development', function(){
    app.use(express.static(__dirname + '/public'));
  });
  
  
  app.listen(3000);
  
new_contents: 
  var express = require("express");
  var sharejs = require("share").server;
  
  var app = express.createServer();
  
  sharejs.attach(app, {
    db:{ type: "none" }
  });
  
  app.configure('development', function(){
    app.use(express.static(__dirname + '/public'));
  });
  
  
  app.listen(3000, function() {
    console.log("Now listening on http://localhost:3000/");
  });
  
subject: Attach ShareJS to the example server.