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

Side by Side Diff: third_party/pkg/angular/lib/angular.dart

Issue 180843004: Revert revision 33053 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 9 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
« no previous file with comments | « third_party/pkg/angular/karma.conf.js ('k') | third_party/pkg/angular/lib/bootstrap.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /** 1 /**
2 * Angular is a framework for building single page web applications. 2 * Angular is a framework for building single page web applications.
3 * 3 *
4 * Further reading: 4 * Further reading:
5 * 5 *
6 * - AngularJS [Overview](http://www.angularjs.org) 6 * - AngularJS [Overview](http://www.angularjs.org)
7 * - [Tutorial](https://github.com/angular/angular.dart.tutorial/wiki) 7 * - [Tutorial](https://github.com/angular/angular.dart.tutorial/wiki)
8 * - [Mailing List](http://groups.google.com/d/forum/angular-dart?hl=en) 8 * - [Mailing List](http://groups.google.com/d/forum/angular-dart?hl=en)
9 * 9 *
10 */ 10 */
11 library angular; 11 library angular;
12 12
13 import 'dart:html' as dom; 13 import 'dart:html' as dom;
14 import 'dart:js' as js; 14 import 'dart:js' as js;
15 import 'package:di/di.dart'; 15 import 'package:di/di.dart';
16 import 'package:di/dynamic_injector.dart'; 16 import 'package:di/dynamic_injector.dart';
17 17
18 /** 18 /**
19 * If you are writing code accessed from Angular expressions, you must include 19 * If you are writing code accessed from Angular expressions, you must include
20 * your own @MirrorsUsed annotation or ensure that everything is tagged with 20 * your own @MirrorsUsed annotation or ensure that everything is tagged with
21 * the Ng annotations. 21 * the Ng annotations.
22 * 22 *
23 * All programs should also include a @MirrorsUsed(override: '*') which 23 * All programs should also include a @MirrorsUsed(override: '*') which
24 * tells the compiler that only the explicitly listed libraries will 24 * tells the compiler that only the explicitly listed libraries will
25 * be reflected over. 25 * be reflected over.
26 * 26 *
27 * This is a short-term fix until we implement a transformer-based solution 27 * This is a short-term fix until we implement a transformer-based solution
28 * which does not rely on mirrors. 28 * which does not rely on mirrors.
29 */ 29 */
30 @MirrorsUsed(targets: const [ 30 @MirrorsUsed(targets: const[
31 'angular', 31 'angular',
32 'angular.core', 32 'angular.core',
33 'angular.core.dom', 33 'angular.core.dom',
34 'angular.filter', 34 'angular.filter',
35 'angular.perf', 35 'angular.perf',
36 'angular.directive', 36 'angular.directive',
37 'angular.routing', 37 'angular.routing',
38 'angular.core.parser.Parser',
39 'angular.core.parser.dynamic_parser', 38 'angular.core.parser.dynamic_parser',
40 'angular.core.parser.lexer', 39 'angular.core.parser.lexer',
41 'perf_api', 40 'perf_api',
42 List, 41 'List',
43 dom.NodeTreeSanitizer, 42 'NodeTreeSanitizer',
44 ], 43 ],
45 metaTargets: const [ 44 metaTargets: const[
46 NgInjectableService, 45 'NgInjectableService',
47 NgDirective, 46 'NgDirective',
48 NgController, 47 'NgController',
49 NgComponent, 48 'NgComponent'
50 NgFilter
51 ]) 49 ])
52 import 'dart:mirrors' show MirrorsUsed; 50 import 'dart:mirrors';
53 51
54 import 'package:angular/core/module.dart'; 52 import 'package:angular/core/module.dart';
55 import 'package:angular/core_dom/module.dart'; 53 import 'package:angular/core_dom/module.dart';
56 import 'package:angular/directive/module.dart'; 54 import 'package:angular/directive/module.dart';
57 import 'package:angular/filter/module.dart'; 55 import 'package:angular/filter/module.dart';
58 import 'package:angular/perf/module.dart'; 56 import 'package:angular/perf/module.dart';
59 import 'package:angular/routing/module.dart'; 57 import 'package:angular/routing/module.dart';
60 58
61 export 'package:di/di.dart'; 59 export 'package:di/di.dart';
62 export 'package:angular/core/module.dart'; 60 export 'package:angular/core/module.dart';
63 export 'package:angular/core_dom/module.dart'; 61 export 'package:angular/core_dom/module.dart';
64 export 'package:angular/core/parser/parser.dart'; 62 export 'package:angular/core/parser/parser.dart';
65 export 'package:angular/core/parser/lexer.dart'; 63 export 'package:angular/core/parser/lexer.dart';
66 export 'package:angular/directive/module.dart'; 64 export 'package:angular/directive/module.dart';
67 export 'package:angular/filter/module.dart'; 65 export 'package:angular/filter/module.dart';
68 export 'package:angular/routing/module.dart'; 66 export 'package:angular/routing/module.dart';
69 67
70 part 'bootstrap.dart'; 68 part 'bootstrap.dart';
71 part 'introspection.dart'; 69 part 'introspection.dart';
OLDNEW
« no previous file with comments | « third_party/pkg/angular/karma.conf.js ('k') | third_party/pkg/angular/lib/bootstrap.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698