twitter/hogan.js — Issue #35: Strange behavior of (this)
Author: Contra
Created: 2012-01-27 18:53:23+00:00
State: open

```coffee-script
var hogan = require('hogan.js');
var compile = hogan.compile;
var compiled = compile('{{test}}');
var rendered = data.render({
test: "hi"
});
```

Error when compile is called:
```
TypeError: Cannot read property '{{test}}||false' of undefined
at /home/contra/Desktop/Projects/slate/node_modules/hogan.js/lib/compiler.js:339:23
```
Assigning hogan to another variable causes it to lose (this). Using Hogan. instead of this. should fix the issue