gotwarlost/istanbul — pull request #255 by clumsical (2014-09-11 21:02:35+00:00)
Title: Sample code triggers error

This sample code:

``` javascript
var instrumenter = new require('istanbul').Instrumenter();
var generatedCode = instrumenter.instrumentSync('function meaningOfLife() { return 42; }', 'filename.js');
```

Triggers the error:
```TypeError: Cannot call method 'instrumentSync' of undefined```

Can be solved by separating out the require on it's own.