Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Issue 19689009: Ensure getInstanceModel is only called when a new instance will be created (Closed)

Created:
7 years, 5 months ago by Jennifer Messerly
Modified:
7 years, 5 months ago
Reviewers:
justinfagnani
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Ensure getInstanceModel is only called when a new instance will be created Note that this also allows for the common case of inserting an instance via a DocumentFragment. Only if there is a instanceCache hit, do we insert an array of nodes. port of https://github.com/Polymer/mdv/commit/694a4114779a9cd8ea3c915d1f5e9ec5ad6bd68c R=justinfagnani@google.com Committed: https://code.google.com/p/dart/source/detail?r=25373

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -16 lines) Patch
M pkg/mdv/lib/src/template_iterator.dart View 1 3 chunks +26 lines, -16 lines 0 comments Download
M pkg/mdv/test/binding_syntax_test.dart View 2 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Jennifer Messerly
7 years, 5 months ago (2013-07-22 22:01:14 UTC) #1
justinfagnani
lgtm https://chromiumcodereview.appspot.com/19689009/diff/1/pkg/mdv/lib/src/template_iterator.dart File pkg/mdv/lib/src/template_iterator.dart (right): https://chromiumcodereview.appspot.com/19689009/diff/1/pkg/mdv/lib/src/template_iterator.dart#newcode253 pkg/mdv/lib/src/template_iterator.dart:253: if (terminator == null) terminator = previousTerminator; Initialize ...
7 years, 5 months ago (2013-07-23 20:42:06 UTC) #2
Jennifer Messerly
https://chromiumcodereview.appspot.com/19689009/diff/1/pkg/mdv/lib/src/template_iterator.dart File pkg/mdv/lib/src/template_iterator.dart (right): https://chromiumcodereview.appspot.com/19689009/diff/1/pkg/mdv/lib/src/template_iterator.dart#newcode253 pkg/mdv/lib/src/template_iterator.dart:253: if (terminator == null) terminator = previousTerminator; On 2013/07/23 ...
7 years, 5 months ago (2013-07-23 20:49:39 UTC) #3
Jennifer Messerly
7 years, 5 months ago (2013-07-23 22:06:09 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r25373 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698