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

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

Issue 257423008: Update all Angular libs (run update_all.sh). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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_bind_template.dart
diff --git a/third_party/pkg/angular/lib/directive/ng_bind_template.dart b/third_party/pkg/angular/lib/directive/ng_bind_template.dart
index 97c8715edbd037572c6fc417055a73916091601d..db993a951d6f8f45683bbf547b7e9222f5122985 100644
--- a/third_party/pkg/angular/lib/directive/ng_bind_template.dart
+++ b/third_party/pkg/angular/lib/directive/ng_bind_template.dart
@@ -1,20 +1,20 @@
part of angular.directive;
/**
- * The [NgBindTemplateDirective] specifies that the element text content should
+ * The [NgBindTemplate] specifies that the element text content should
* be replaced with the interpolation of the template in the ngBindTemplate
* attribute. Unlike ngBind, the ngBindTemplate can contain multiple {{ }}
* expressions.
*/
-@NgDirective(
- selector: '[ng-bind-template]',
- map: const {'ng-bind-template': '@bind'})
-class NgBindTemplateDirective {
+@Decorator(
+ selector: '[ng-bind-template]',
+ map: const {'ng-bind-template': '@bind'})
+class NgBindTemplate {
final dom.Element element;
- NgBindTemplateDirective(this.element);
+ NgBindTemplate(this.element);
- set bind(value) {
+ void set bind(value) {
element.text = value;
}
}
« no previous file with comments | « third_party/pkg/angular/lib/directive/ng_bind_html.dart ('k') | third_party/pkg/angular/lib/directive/ng_class.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698