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

Unified Diff: third_party/pkg/angular/lib/directive/ng_bind.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.dart
diff --git a/third_party/pkg/angular/lib/directive/ng_bind.dart b/third_party/pkg/angular/lib/directive/ng_bind.dart
index 074eeb1ced58046adb86c6598b0581cbe96dec31..04346cb0e635e11025dd9dfe48c8da324ca03b48 100644
--- a/third_party/pkg/angular/lib/directive/ng_bind.dart
+++ b/third_party/pkg/angular/lib/directive/ng_bind.dart
@@ -15,13 +15,13 @@ part of angular.directive;
*
* An alternative solution to this problem would be using the ngCloak directive.
*/
-@NgDirective(
+@Decorator(
selector: '[ng-bind]',
map: const {'ng-bind': '=>value'})
-class NgBindDirective {
+class NgBind {
final dom.Element element;
- NgBindDirective(this.element);
+ NgBind(this.element);
set value(value) => element.text = value == null ? '' : value.toString();
}
« no previous file with comments | « third_party/pkg/angular/lib/directive/ng_base_css.dart ('k') | third_party/pkg/angular/lib/directive/ng_bind_html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698