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

Unified Diff: third_party/pkg/angular/lib/core_dom/compiler.dart

Issue 148453003: Updating Angular version (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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 | « third_party/pkg/angular/lib/core_dom/common.dart ('k') | third_party/pkg/angular/lib/core_dom/cookies.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pkg/angular/lib/core_dom/compiler.dart
diff --git a/third_party/pkg/angular/lib/core_dom/compiler.dart b/third_party/pkg/angular/lib/core_dom/compiler.dart
index 5e636d226f1faa3700d651940036f8bde2846973..6d7cda2eacb419fc1bdebd5565f9c855983b6137 100644
--- a/third_party/pkg/angular/lib/core_dom/compiler.dart
+++ b/third_party/pkg/angular/lib/core_dom/compiler.dart
@@ -14,7 +14,7 @@ class Compiler {
}
_compileBlock(NodeCursor domCursor, NodeCursor templateCursor,
- List<DirectiveRef> useExistingDirectiveRefs) {
+ List<DirectiveRef> useExistingDirectiveRefs) {
if (domCursor.nodeList().length == 0) return null;
var directivePositions = null; // don't pre-create to create sparse tree and prevent GC pressure.
@@ -141,7 +141,7 @@ class Compiler {
var dstPath = match[2];
Expression dstPathFn = _parser(dstPath.isEmpty ? attrName : dstPath);
- if (!dstPathFn.assignable) {
+ if (!dstPathFn.isAssignable) {
throw "Expression '$dstPath' is not assignable in mapping '$mapping' for attribute '$attrName'.";
}
ApplyMapping mappingFn;
@@ -160,7 +160,7 @@ class Compiler {
() => attrExprFn.eval(scope),
(v) => dstPathFn.assign(dst, shadowValue = v),
attrs[attrName]);
- if (attrExprFn.assignable) {
+ if (attrExprFn.isAssignable) {
scope.$watch(
() => dstPathFn.eval(dst),
(v) {
« no previous file with comments | « third_party/pkg/angular/lib/core_dom/common.dart ('k') | third_party/pkg/angular/lib/core_dom/cookies.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698