Repository navigation
Extending options object in renderPartial - #5
Conversation
In the `renderPartial` function I changed _.defaults to _.extend. This fixes a problem of not being able to have different options in multiple file rendering setup.
|
Was thinking the same thing, but i noticed that that way you're extending the main Wouldn't it be better to use an empty object as first argument? Also providing a default when data is not set would prevent errors: |
|
Yeah, you are right it would be even better this way. On Wednesday, March 12, 2014, Marco Solazzi notifications@github.com
|
Extending options object in renderPartial
|
Ok merged and added the fix. Pushed a new versione 0.2.5 |
|
Awesome! On Thursday, March 13, 2014, Marco Solazzi notifications@github.com wrote:
|
In the
renderPartialfunction I changed _.defaults to _.extend. This fixes a problem of not being able to have different options in multiple file rendering setup.