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

Side by Side Diff: third_party/pkg/angular/lib/core/registry_static.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 library angular.core_static;
2
3 import 'package:angular/core/annotation_src.dart' show Injectable;
4 import 'package:angular/core/registry.dart';
5
6 @Injectable()
7 class StaticMetadataExtractor extends MetadataExtractor {
8 final Map<Type, Iterable> metadataMap;
9 final List empty = const [];
10
11 StaticMetadataExtractor(this.metadataMap);
12
13 Iterable call(Type type) {
14 Iterable i = metadataMap[type];
15 return i == null ? empty : i;
16 }
17 }
OLDNEW
« no previous file with comments | « third_party/pkg/angular/lib/core/registry_dynamic.dart ('k') | third_party/pkg/angular/lib/core/scope.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698