BonsaiDen/Fomatto — Issue #2: turns 'undefined' objects in strings
Author: dominictarr
Created: 2011-11-01 05:49:30+00:00
State: open

``` js
var f = new (require('fomatto').Formatter)()
f('qq_{x}_qq', {x: undefined})
```

returns `'qq_[object Object]_qq'`

which is not right, should work the same as:

``` js
var f = new (require('fomatto').Formatter)()
f('qq_{0}_qq', undefined)
```

which returns `'qq_undefined_qq'`