mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 14:37:02 +03:00
KnockoutJS don't scramble exportDependencies. controlsDescendantBindings, createChildContext
This commit is contained in:
parent
a8e38a998f
commit
766d3eaa98
8 changed files with 16 additions and 16 deletions
|
|
@ -59,12 +59,12 @@
|
|||
currentViewModel = componentDefinition['createViewModel'](componentParams, {
|
||||
'element': element
|
||||
});
|
||||
ko.applyBindingsToDescendants(asyncContext.createChildContext(currentViewModel, {}), element);
|
||||
ko.applyBindingsToDescendants(asyncContext['createChildContext'](currentViewModel, {}), element);
|
||||
}
|
||||
});
|
||||
}, { disposeWhenNodeIsRemoved: element });
|
||||
|
||||
return { controlsDescendantBindings: true };
|
||||
return { 'controlsDescendantBindings': true };
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue