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

Unified Diff: third_party/pkg/di/lib/annotations.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/di/lib/annotations.dart
diff --git a/third_party/pkg/di/lib/annotations.dart b/third_party/pkg/di/lib/annotations.dart
index 0f77b3bc583c9c3a4b734fe1416005e08f5bae44..539c43f6fee3fdb76c97783fe60e8f7739538ea5 100644
--- a/third_party/pkg/di/lib/annotations.dart
+++ b/third_party/pkg/di/lib/annotations.dart
@@ -8,4 +8,12 @@ library di.annotations;
class Injectables {
final List<Type> types;
const Injectables(this.types);
-}
+}
+
+/**
+ * Annotation that can be applied to a class for which type factories
+ * should be generated to be used by StaticInjector.
+ */
+class Injectable {
+ const Injectable();
+}
« no previous file with comments | « third_party/pkg/di/benchmark/static_injector_benchmark.dart ('k') | third_party/pkg/di/lib/auto_injector.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698