Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #### 0.10.2-dev | |
| 2 * Added the `HtmlImport` annotation. This can be added to any library | |
| 3 declaration and it will inject an html import to the specified path into the | |
| 4 head of the current document, which allows dart files to declare their html | |
| 5 dependencies. Paths can be relative to the current dart file or they can be | |
| 6 in `package:` form. | |
| 7 | |
| 8 *Note*: Html imports included this way cannot contain dart script tags. The | |
| 9 mirror based implementation injects the imports dynamically and dart script | |
| 10 tags are not allowed to be injected in that way. | |
| 11 | |
| 12 There is also a transformer supplied which will inline these imports into | |
| 13 the head of your document at compile time, it can be used like this: | |
| 14 | |
| 15 transformers: | |
| 16 # Must include the `initialize` transformer first. | |
| 17 - initialize: | |
| 18 entry_point: web/index.dart | |
| 19 html_entry_point: web/index.html | |
| 20 - web_components/build/html_import_annotation_inliner: | |
|
Siggi Cherem (dart-lang)
2015/02/12 16:49:44
maybe we should provide a second transformer:
- h
jakemac
2015/02/12 17:04:09
In the new version of this stuff there will only b
| |
| 21 # The bootstrap file created by the `initialize` transformer. | |
| 22 bootstrap_file: test/index.bootstrap.dart | |
| 23 html_entry_point: test/index.html | |
| 24 | |
| 1 #### 0.10.1 | 25 #### 0.10.1 |
| 2 * Added the `CustomElementProxy` annotation. This can be added to any class | 26 * Added the `CustomElementProxy` annotation. This can be added to any class |
| 3 which proxies a javascript custom element and is the equivalent of calling | 27 which proxies a javascript custom element and is the equivalent of calling |
| 4 `registerDartType`. In order to use this you will need to be using the | 28 `registerDartType`. In order to use this you will need to be using the |
| 5 `initialize` package, and call its `run` method from your main function. It | 29 `initialize` package, and call its `run` method from your main function. It |
| 6 is also recommended that you include the transformer from that package to | 30 is also recommended that you include the transformer from that package to |
| 7 remove the use of mirrors at runtime, see | 31 remove the use of mirrors at runtime, see |
| 8 [initialize](https://github.com/dart-lang/initialize) for more information. | 32 [initialize](https://github.com/dart-lang/initialize) for more information. |
| 9 | 33 |
| 10 #### 0.10.0 | 34 #### 0.10.0 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 86 * Reverts back to what we had in 0.3.4. (The platform.js updates in 0.3.5 had | 110 * Reverts back to what we had in 0.3.4. (The platform.js updates in 0.3.5 had |
| 87 breaking changes so we are republishing it in 0.4.0) | 111 breaking changes so we are republishing it in 0.4.0) |
| 88 | 112 |
| 89 #### 0.3.5 | 113 #### 0.3.5 |
| 90 * Added `registerDartType` to register a Dart API for a custom-element written | 114 * Added `registerDartType` to register a Dart API for a custom-element written |
| 91 in Javascript. | 115 in Javascript. |
| 92 * Updated to platform 0.3.3-29065bc | 116 * Updated to platform 0.3.3-29065bc |
| 93 | 117 |
| 94 #### 0.3.4 | 118 #### 0.3.4 |
| 95 * Updated to platform 0.2.4 (see lib/build.log for details) | 119 * Updated to platform 0.2.4 (see lib/build.log for details) |
| OLD | NEW |