/**
 * We'll use ES6 in our server-side code for consistency.
 * This pulls in Babel as a preprocessor for future code
 * required by Node.
 */
require('babel/register')

var Server = require('./lib/server')

Server.start(process.env.PORT || 4000, function (error, server) {
  if (error) {
    throw Error(error)
  }

  console.log('[info] Examples listening on %s', server.info.uri)
})

@@ -200,16 +200,47 @@
 server')
+%0Avar assert = require('assert')
 %0A%0AServer
@@ -305,31 +305,17 @@
 %7B%0A  
-if (error) %7B%0A    throw 
+assert.if
 Erro
@@ -326,12 +326,8 @@
 ror)
-%0A  %7D
 %0A%0A  

Use assert.ifError instead of conditional in server index