mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 05:59:21 +03:00
KnockoutJS scramble createChildContext
This commit is contained in:
parent
47cd902369
commit
4ee00d30ae
4 changed files with 5 additions and 5 deletions
|
|
@ -61,7 +61,7 @@
|
|||
'element': element,
|
||||
'templateNodes': originalChildNodes
|
||||
});
|
||||
ko.applyBindingsToDescendants(asyncContext['createChildContext'](currentViewModel, {
|
||||
ko.applyBindingsToDescendants(asyncContext.createChildContext(currentViewModel, {
|
||||
'extend': ctx => {
|
||||
ctx['$component'] = currentViewModel;
|
||||
ctx['$componentTemplateNodes'] = originalChildNodes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue