OLD | NEW |
---|---|
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * Custom HTML tags, data binding, and templates for building | 6 * Custom HTML tags, data binding, and templates for building |
7 * structured, encapsulated, client-side web apps. | 7 * structured, encapsulated, client-side web apps. |
8 * | 8 * |
9 * Polymer.dart, the next evolution of Web UI, | 9 * Polymer.dart, the next evolution of Web UI, |
10 * is an in-progress Dart port of the | 10 * is an in-progress Dart port of the |
(...skipping 28 matching lines...) Expand all Loading... | |
39 */ | 39 */ |
40 library polymer; | 40 library polymer; |
41 | 41 |
42 import 'dart:async'; | 42 import 'dart:async'; |
43 import 'dart:collection' show HashMap, HashSet; | 43 import 'dart:collection' show HashMap, HashSet; |
44 import 'dart:html'; | 44 import 'dart:html'; |
45 import 'dart:js' as js; | 45 import 'dart:js' as js; |
46 | 46 |
47 @MirrorsUsed(metaTargets: | 47 @MirrorsUsed(metaTargets: |
48 const [Reflectable, ObservableProperty, CustomTag, _InitMethodAnnotation], | 48 const [Reflectable, ObservableProperty, CustomTag, _InitMethodAnnotation], |
49 targets: const [PublishedProperty], | |
Siggi Cherem (dart-lang)
2014/02/25 23:23:23
needed to check that this extends from ObservableP
Jennifer Messerly
2014/02/25 23:50:09
yeah, seems fine, but shouldn't it be a metatarget
Siggi Cherem (dart-lang)
2014/02/26 00:09:50
good point. However, I had to include it in both.
| |
49 override: const ['smoke.mirrors', 'polymer']) | 50 override: const ['smoke.mirrors', 'polymer']) |
50 import 'dart:mirrors'; | 51 import 'dart:mirrors'; |
51 | 52 |
52 import 'package:logging/logging.dart' show Logger, Level; | 53 import 'package:logging/logging.dart' show Logger, Level; |
53 import 'package:observe/observe.dart'; | 54 import 'package:observe/observe.dart'; |
54 import 'package:observe/src/dirty_check.dart' show dirtyCheckZone; | 55 import 'package:observe/src/dirty_check.dart' show dirtyCheckZone; |
55 import 'package:path/path.dart' as path; | 56 import 'package:path/path.dart' as path; |
56 import 'package:polymer_expressions/polymer_expressions.dart' | 57 import 'package:polymer_expressions/polymer_expressions.dart' |
57 show PolymerExpressions; | 58 show PolymerExpressions; |
58 import 'package:smoke/smoke.dart' as smoke; | 59 import 'package:smoke/smoke.dart' as smoke; |
59 import 'package:smoke/mirrors.dart' as smoke; | 60 import 'package:smoke/mirrors.dart' as smoke; |
60 import 'package:template_binding/template_binding.dart'; | 61 import 'package:template_binding/template_binding.dart'; |
61 import 'package:web_components/polyfill.dart' show customElementsReady; | 62 import 'package:web_components/polyfill.dart' show customElementsReady; |
62 | 63 |
63 import 'deserialize.dart' as deserialize; | 64 import 'deserialize.dart' as deserialize; |
64 | 65 |
65 export 'package:observe/observe.dart'; | 66 export 'package:observe/observe.dart'; |
66 export 'package:observe/html.dart'; | 67 export 'package:observe/html.dart'; |
67 | 68 |
68 part 'src/boot.dart'; | 69 part 'src/boot.dart'; |
69 part 'src/declaration.dart'; | 70 part 'src/declaration.dart'; |
70 part 'src/instance.dart'; | 71 part 'src/instance.dart'; |
71 part 'src/job.dart'; | 72 part 'src/job.dart'; |
72 part 'src/loader.dart'; | 73 part 'src/loader.dart'; |
OLD | NEW |