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

Unified Diff: pkg/mdv/lib/src/template.dart

Issue 19590007: [mdv] template.ref must recursive to find the original source template (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: revert file generated by dom.py Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/mdv/test/template_element_test.dart » ('j') | pkg/mdv/test/template_element_test.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/mdv/lib/src/template.dart
diff --git a/pkg/mdv/lib/src/template.dart b/pkg/mdv/lib/src/template.dart
index a1713d1ccbc0c0ca92d241a5a507f6ff3cae921b..a73de04380d463e4417ddf20a3d14934efd4b53d 100644
--- a/pkg/mdv/lib/src/template.dart
+++ b/pkg/mdv/lib/src/template.dart
@@ -55,7 +55,7 @@ class _TemplateExtension extends _ElementExtension {
if (template == null) template = node;
var instance = _createDeepCloneAndDecorateTemplates(
- template.content, syntax);
+ template.ref.content, syntax);
if (_instanceCreated != null) _instanceCreated.add(instance);
« no previous file with comments | « no previous file | pkg/mdv/test/template_element_test.dart » ('j') | pkg/mdv/test/template_element_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698