OLD | NEW |
(Empty) | |
| 1 Polymer.dart |
| 2 ============ |
| 3 |
| 4 Polymer is a new type of library for the web, built on top of Web Components, |
| 5 and designed to leverage the evolving web platform on modern browsers. |
| 6 |
| 7 Polymer.dart is a Dart port of Polymer created and maintained by the Dart team. |
| 8 The Dart team is collaborating with the Polymer team to ensure that polymer.dart |
| 9 elements and polyfills are fully compatible with Polymer. |
| 10 |
| 11 For more information about Polymer, see <http://www.polymer-project.org/>. |
| 12 For more information about Dart, see <http://www.dartlang.org/>. |
| 13 |
| 14 Try It Now |
| 15 ----------- |
| 16 Add the polymer.dart package to your pubspec.yaml file: |
| 17 |
| 18 ```yaml |
| 19 dependencies: |
| 20 polymer: any |
| 21 ``` |
| 22 |
| 23 Instead of using `any`, we recommend using version ranges to avoid getting your |
| 24 project broken on each release. Using a version range lets you upgrade your |
| 25 package at your own pace. You can find the latest version number at |
| 26 <https://pub.dartlang.org/packages/polymer>. |
| 27 |
| 28 |
| 29 Learn More |
| 30 ---------- |
| 31 |
| 32 **Note**: these documents are currently out of date. |
| 33 |
| 34 * [Read an overview][overview] |
| 35 * [Setup your tools][tools] |
| 36 * [Browse the features][features] |
| 37 * [Dive into the specification][spec] |
| 38 |
| 39 See our [TodoMVC][] example by opening up the Dart Editor's Welcome Page and |
| 40 selecting "TodoMVC". |
| 41 |
| 42 Running Tests |
| 43 ------------- |
| 44 |
| 45 Dependencies are installed using the [Pub Package Manager][pub]. |
| 46 ```bash |
| 47 pub install |
| 48 |
| 49 # Run command line tests and automated end-to-end tests. It needs two |
| 50 # executables on your path: `dart` and `content_shell` (see below |
| 51 # for links to download `content_shell`) |
| 52 test/run.sh |
| 53 ``` |
| 54 Note: to run browser tests you will need to have [content_shell][cs], |
| 55 which can be downloaded prebuilt for [Ubuntu Lucid][cs_lucid], |
| 56 [Windows][cs_win], or [Mac][cs_mac]. You can also build it from the |
| 57 [Dartium and content_shell sources][dartium_src]. |
| 58 |
| 59 For Linux users all the necessary fonts must be installed see |
| 60 <https://code.google.com/p/chromium/wiki/LayoutTestsLinux>. |
| 61 |
| 62 Contacting Us |
| 63 ------------- |
| 64 |
| 65 Please file issues in our [Issue Tracker][issues] or contact us on the |
| 66 [Dart Web UI mailing list][mailinglist]. |
| 67 |
| 68 We also have the [Web UI development list][devlist] for discussions about |
| 69 internals of the code, code reviews, etc. |
| 70 |
| 71 [wc]: http://dvcs.w3.org/hg/webcomponents/raw-file/tip/explainer/index.html |
| 72 [pub]: http://www.dartlang.org/docs/pub-package-manager/ |
| 73 [cs]: http://www.chromium.org/developers/testing/webkit-layout-tests |
| 74 [cs_lucid]: http://gsdview.appspot.com/dartium-archive/continuous/drt-lucid64.zi
p |
| 75 [cs_mac]: http://gsdview.appspot.com/dartium-archive/continuous/drt-mac.zip |
| 76 [cs_win]: http://gsdview.appspot.com/dartium-archive/continuous/drt-win.zip |
| 77 [dartium_src]: http://code.google.com/p/dart/wiki/BuildingDartium |
| 78 [TodoMVC]: http://addyosmani.github.com/todomvc/ |
| 79 [issues]: http://dartbug.com/new |
| 80 [mailinglist]: https://groups.google.com/a/dartlang.org/forum/?fromgroups#!forum
/web-ui |
| 81 [devlist]: https://groups.google.com/a/dartlang.org/forum/?fromgroups#!forum/web
-ui-dev |
| 82 [overview]: http://www.dartlang.org/articles/dart-web-components/ |
| 83 [tools]: https://www.dartlang.org/articles/dart-web-components/tools.html |
| 84 [spec]: https://www.dartlang.org/articles/dart-web-components/spec.html |
| 85 [features]: https://www.dartlang.org/articles/dart-web-components/summary.html |
OLD | NEW |