OLD | NEW |
| (Empty) |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | |
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. | |
4 | |
5 /// Custom HTML tags, data binding, and templates for building | |
6 /// structured, encapsulated, client-side web apps. | |
7 /// | |
8 /// Polymer.dart, the next evolution of Web UI, | |
9 /// is an in-progress Dart port of the | |
10 /// [Polymer project](http://www.polymer-project.org/). | |
11 /// Polymer.dart compiles to JavaScript and runs across the modern web. | |
12 /// | |
13 /// To use polymer.dart in your application, | |
14 /// first add a | |
15 /// [dependency](http://pub.dartlang.org/doc/dependencies.html) | |
16 /// to the app's pubspec.yaml file. | |
17 /// Instead of using the open-ended `any` version specifier, | |
18 /// we recommend using a range of version numbers, as in this example: | |
19 /// | |
20 /// dependencies: | |
21 /// polymer: '>=0.7.1 <0.8' | |
22 /// | |
23 /// Then import the library into your application: | |
24 /// | |
25 /// import 'package:polymer/polymer.dart'; | |
26 /// | |
27 /// ## Other resources | |
28 /// | |
29 /// * [Polymer.dart homepage](http://www.dartlang.org/polymer-dart/): | |
30 /// Example code, project status, and | |
31 /// information about how to get started using Polymer.dart in your apps. | |
32 /// | |
33 /// * [polymer.dart package](http://pub.dartlang.org/packages/polymer): | |
34 /// More details, such as the current major release number. | |
35 /// | |
36 /// * [Upgrading to Polymer.dart](http://www.dartlang.org/polymer-dart/upgrading
-to-polymer-from-web-ui.html): | |
37 /// Tips for converting your apps from Web UI to Polymer.dart. | |
38 @HtmlImport('polymer.html') | |
39 library polymer; | |
40 | |
41 import 'dart:async'; | |
42 import 'dart:collection'; | |
43 import 'dart:html'; | |
44 import 'dart:js' as js show context; | |
45 import 'dart:js' hide context; | |
46 | |
47 import 'package:initialize/initialize.dart' hide run; | |
48 import 'package:logging/logging.dart'; | |
49 import 'package:observe/observe.dart'; | |
50 import 'package:observe/src/dirty_check.dart' show dirtyCheckZone; | |
51 import 'package:polymer_expressions/polymer_expressions.dart' | |
52 as polymer_expressions; | |
53 import 'package:polymer_interop/polymer_interop.dart'; | |
54 import 'package:smoke/smoke.dart' as smoke; | |
55 import 'package:template_binding/template_binding.dart'; | |
56 import 'package:web_components/web_components.dart'; | |
57 | |
58 import 'auto_binding.dart'; | |
59 import 'deserialize.dart' as deserialize; | |
60 | |
61 export 'package:initialize/initialize.dart' show initMethod; | |
62 export 'package:observe/observe.dart'; | |
63 export 'package:observe/html.dart'; | |
64 export 'package:web_components/web_components.dart' show HtmlImport; | |
65 export 'auto_binding.dart'; | |
66 | |
67 part 'src/declaration.dart'; | |
68 part 'src/events.dart'; | |
69 part 'src/initializers.dart'; | |
70 part 'src/instance.dart'; | |
71 part 'src/job.dart'; | |
72 part 'src/loader.dart'; | |
73 part 'src/property_accessor.dart'; | |
74 | |
75 /// Call [configureForDeployment] to change this to true. | |
76 bool _deployMode = false; | |
OLD | NEW |