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

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

Issue 1058283006: Update pubspecs and dependencies to get pkgbuild tests working. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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
deleted file mode 100644
index 074eeb1ced58046adb86c6598b0581cbe96dec31..0000000000000000000000000000000000000000
--- a/third_party/pkg/angular/lib/directive/ng_bind.dart
+++ /dev/null
@@ -1,27 +0,0 @@
-part of angular.directive;
-
-/**
- * The ngBind attribute tells Angular to replace the text content of the
- * specified HTML element with the value of a given expression, and to update
- * the text content when the value of that expression changes.
- *
- * Typically, you don't use ngBind directly, but instead you use the double
- * curly markup like {{ expression }} which is similar but less verbose.
- *
- * It is preferrable to use ngBind instead of {{ expression }} when a template
- * is momentarily displayed by the browser in its raw state before Angular
- * compiles it. Since ngBind is an element attribute, it makes the bindings
- * invisible to the user while the page is loading.
- *
- * An alternative solution to this problem would be using the ngCloak directive.
- */
-@NgDirective(
- selector: '[ng-bind]',
- map: const {'ng-bind': '=>value'})
-class NgBindDirective {
- final dom.Element element;
-
- NgBindDirective(this.element);
-
- set value(value) => element.text = value == null ? '' : value.toString();
-}
« no previous file with comments | « third_party/pkg/angular/lib/directive/ng_a.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