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

Unified Diff: third_party/pkg/angular/lib/directive/ng_template.dart

Issue 180873006: Update the Angular/DI tests to latest from github. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review feedback Created 6 years, 10 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
Index: third_party/pkg/angular/lib/directive/ng_template.dart
diff --git a/third_party/pkg/angular/lib/directive/ng_template.dart b/third_party/pkg/angular/lib/directive/ng_template.dart
index 07e6a499f6ce722c718fe94f10827c5219573a1c..649157b1db7978a61447063fc562079d70a48d99 100644
--- a/third_party/pkg/angular/lib/directive/ng_template.dart
+++ b/third_party/pkg/angular/lib/directive/ng_template.dart
@@ -26,12 +26,12 @@ part of angular.directive;
children: NgAnnotation.IGNORE_CHILDREN,
map: const {'id': '@templateUrl'})
class NgTemplateDirective {
- dom.Element element;
- TemplateCache templateCache;
+ final dom.Element element;
+ final TemplateCache templateCache;
NgTemplateDirective(this.element, this.templateCache);
set templateUrl(url) => templateCache.put(url, new HttpResponse(200,
- (element is dom.TemplateElement
- ? (element as dom.TemplateElement).content.innerHtml
- : element.innerHtml)));
+ element is dom.TemplateElement
+ ? (element as dom.TemplateElement).content.innerHtml
+ : element.innerHtml));
}
« no previous file with comments | « third_party/pkg/angular/lib/directive/ng_switch.dart ('k') | third_party/pkg/angular/lib/filter/currency.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698