mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
much smarter binding,
auto-binding is only done when the element has binding attributes ('name') also now an error is throw in there are binding elements but view doesn't have a model
This commit is contained in:
parent
acb15d8e49
commit
979efb8354
3 changed files with 17 additions and 7 deletions
|
@ -13,7 +13,6 @@ Marionette.TemplateCache.get = function (templateId) {
|
|||
return function (data) {
|
||||
|
||||
try {
|
||||
//console.log('rendering template ' + templateKey);
|
||||
return templateFunction(data);
|
||||
}
|
||||
catch (error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue