wycats/handlebars.js — pull request #515 by jjclark1982 (2013-05-14 12:39:33+00:00)
Title: Allow requiring ".handlebars" files within Node.js scripts

When using handlebars for server-side templates and storing those templates in individual files, it is convenient to be able to load and compile those files into template functions using `require()`, like so:

```javascript
var template = require("./template.hbs");
var text = template({name: "Jesse Clark"});
```

This patch provides a `require()` handler that loads and compiles `.handlebars` and `.hbs` files.