View application.css
.done { | |
opacity: 0.5; | |
text-decoration: line-through; | |
} |
View caught.js
var domain = require("domain"); | |
var d = domain.create(); | |
d.on("error", function() { | |
console.log("domain caught"); | |
}); | |
d.run(function() { | |
throw new Error("foo"); |