New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fragment creation code broken in 0dbdd5c #3418
Labels
Milestone
Comments
tbosch
added a commit
to tbosch/angular
that referenced
this issue
Jul 31, 2015
Introduces the injectable `TemplateCloner` that can be configured via the new token `MAX_IN_MEMORY_ELEMENTS_PER_TEMPLATE_TOKEN`. Also replaces `document.adoptNode` with `document.importNode` as otherwise custom elements are not triggered in chrome 43. Closes angular#3418
tbosch
added a commit
to tbosch/angular
that referenced
this issue
Jul 31, 2015
Introduces the injectable `TemplateCloner` that can be configured via the new token `MAX_IN_MEMORY_ELEMENTS_PER_TEMPLATE_TOKEN`. Also replaces `document.adoptNode` with `document.importNode` as otherwise custom elements are not triggered in chrome 43. Closes angular#3418
tbosch
added a commit
to tbosch/angular
that referenced
this issue
Jul 31, 2015
Introduces the injectable `TemplateCloner` that can be configured via the new token `MAX_IN_MEMORY_ELEMENTS_PER_TEMPLATE_TOKEN`. Also replaces `document.adoptNode` with `document.importNode` as otherwise custom elements are not triggered in chrome 43. Closes angular#3418
stevemao
pushed a commit
to stevemao/angular
that referenced
this issue
Aug 3, 2015
Introduces the injectable `TemplateCloner` that can be configured via the new token `MAX_IN_MEMORY_ELEMENTS_PER_TEMPLATE_TOKEN`. Also replaces `document.adoptNode` with `document.importNode` as otherwise custom elements are not triggered in chrome 43. Closes angular#3418 Closes angular#3433
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
0dbdd5c is faulty.
The following fixes are needed:
lib/src/render/dom/util.dart:
line 82: make list growable:
ListWrapper.createGrowableSize(fragmentsRootNodeCount[fragmentIndex]);
lib/src/render/dom/view/proto_view_merger.dart
lines 47-49: add marker comment node at the beginning of each fragment
fragments.skip(1).forEach((nodes) {
nodes.insert(0, DOM.createComment('|'));
});
line 227: make a growable copy of child nodes:
return DOM.childNodesAsList(DOM.content(fragmentElement)).toList();
The text was updated successfully, but these errors were encountered: