Initial switch from jq.data to pure props.

This commit is contained in:
Lars Jung 2016-06-24 18:59:16 +02:00
parent 06b4d81a61
commit a3c9bc9db0
3 changed files with 9 additions and 11 deletions

View file

@ -108,10 +108,10 @@ function update(item) {
}
}
if (item.$tree) {
item.$tree.replaceWith($html);
if (item.elTree) {
jq(item.elTree).replaceWith($html);
}
item.$tree = $html;
item.elTree = $html[0];
return $html;
}