|
|
Template bug fixes and new features.
Fixed textnode bug, whitespace was being removed. Added added local name for #with and #each. Form of ${#each list [localName]} and ${#with object [localNme]} Added ability to call another template (located in the same tmpl file). Form is ${#templateName(parms)}
BUG=
TEST=
Committed: https://code.google.com/p/dart/source/detail?r=5665
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+497 lines, -135 lines) |
Patch |
 |
M |
utils/css/cssoptions.dart
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
utils/css/parser.dart
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
utils/template/codegen.dart
|
View
|
|
25 chunks |
+272 lines, -93 lines |
0 comments
|
Download
|
 |
M |
utils/template/htmltree.dart
|
View
|
|
3 chunks |
+33 lines, -6 lines |
0 comments
|
Download
|
 |
M |
utils/template/parser.dart
|
View
|
|
4 chunks |
+47 lines, -9 lines |
0 comments
|
Download
|
 |
M |
utils/template/tokenizer.dart
|
View
|
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
A |
utils/tests/template/callview.tmpl
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
utils/tests/template/name_entry_text.tmpl
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
utils/tests/template/nestedview.tmpl
|
View
|
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
A |
utils/tests/template/productview_localname.tmpl
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
utils/tests/template/realviews.tmpl
|
View
|
|
1 chunk |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
utils/tests/template/run
|
View
|
|
4 chunks |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
A |
utils/tests/template/test_nested.dart
|
View
|
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
M |
utils/tests/template/top_searches.tmpl
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
utils/tests/template/top_searches2.tmpl
|
View
|
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
utils/tests/template/top_searches_css.tmpl
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
Total messages: 1 (0 generated)
|