|
|
Changes in polymer-expressions to prepare for codegen in polymer:
- change scopes to have either variable or model, but not both
- change lookup to aggressively read from the model, and not use hasGetter
- trap all errors (not just eval errors), so that rendering is smooth.
- change error reporting to fire an async error. Now there is no need for
using logger/registering the logger.
- fix test in polymer that apparently was swalling an error in
dart2js-minified. This fix wont be needed once we have codegen.
R=jmesserly@google.com
Committed: https://code.google.com/p/dart/source/detail?r=34283
Total comments: 24
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+209 lines, -134 lines) |
Patch |
 |
M |
pkg/polymer/lib/src/instance.dart
|
View
|
1
2
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
pkg/polymer/test/prop_attr_bind_reflection_test.dart
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
pkg/polymer_expressions/CHANGELOG.md
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/polymer_expressions/example/example.dart
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
pkg/polymer_expressions/lib/eval.dart
|
View
|
1
|
3 chunks |
+112 lines, -65 lines |
0 comments
|
Download
|
 |
M |
pkg/polymer_expressions/lib/polymer_expressions.dart
|
View
|
1
|
7 chunks |
+16 lines, -19 lines |
0 comments
|
Download
|
 |
M |
pkg/polymer_expressions/lib/visitor.dart
|
View
|
|
5 chunks |
+27 lines, -6 lines |
0 comments
|
Download
|
 |
M |
pkg/polymer_expressions/pubspec.yaml
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
pkg/polymer_expressions/test/bindings_test.dart
|
View
|
|
4 chunks |
+12 lines, -15 lines |
0 comments
|
Download
|
 |
M |
pkg/polymer_expressions/test/eval_test.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
pkg/polymer_expressions/test/syntax_test.dart
|
View
|
|
3 chunks |
+13 lines, -17 lines |
0 comments
|
Download
|
 |
M |
pkg/polymer_expressions/test/visitor_test.dart
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|