klei-dev/dust — pull request #17 by eliseumds (2013-10-02 14:04:11+00:00)
Title: adding option "baseContext"

This pull request intends to provide an option to set a base context using dust's **makeBase** method.

Setting the option:

```javascript
var kleiDust = require('klei-dust');

kleiDust.setOptions({
baseContext: {
config: {
cdnUrl: 'https://mycdn.com'
}
}
});
```

Using it:

```html

```

This way we don't need to set these config options every time, neither use `app.set` that pushes the objects to the **settings** property.