rendrjs / rendr

Render your Backbone.js apps on the client and the server, using Node.js.
MIT License
4.09k stars 312 forks source link

changed getTemplateData to also include the view options in the template #412

Closed saponifi3d closed 9 years ago

saponifi3d commented 9 years ago

Pretty much what the title says, pretty quick simple change. This allows us to set an option in a template, and have that information passed into sub-templates, without having to specifically pick and choose options per subview.

coveralls commented 9 years ago

Coverage Status

Coverage increased (+0.42%) when pulling 715fbf710d5e88617f93fef03a729b6be38c046a on saponifi3d:template-data-with-options into 41528534b9c608b48c16d241fef0a6b52a6dcfb5 on rendrjs:master.

coveralls commented 9 years ago

Coverage Status

Coverage increased (+0.43%) when pulling aa1ff59b7211bdae534413abbe44583b8a548313 on saponifi3d:template-data-with-options into 41528534b9c608b48c16d241fef0a6b52a6dcfb5 on rendrjs:master.