| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <!-- | 2 <!-- |
| 3 This file is autogenerated with polymer/tool/create_message_details_page.dart | 3 This file is autogenerated with polymer/tool/create_message_details_page.dart |
| 4 --> | 4 --> |
| 5 <html> | 5 <html> |
| 6 <style> | 6 <style> |
| 7 @font-face { | 7 @font-face { |
| 8 font-family: 'Montserrat'; | 8 font-family: 'Montserrat'; |
| 9 font-style: normal; | 9 font-style: normal; |
| 10 font-weight: 400; | 10 font-weight: 400; |
| (...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 inline_stylesheets: | 494 inline_stylesheets: |
| 495 web/my_file.css: false | 495 web/my_file.css: false |
| 496 </code></pre> | 496 </code></pre> |
| 497 <p>If you would like to hide this warning and keep it inlined, do the same thing | 497 <p>If you would like to hide this warning and keep it inlined, do the same thing |
| 498 but assign the value to true.</p> | 498 but assign the value to true.</p> |
| 499 </div><hr /> | 499 </div><hr /> |
| 500 | 500 |
| 501 <div id="polymer_43"><h3>"dart_support.js" not necessary <a href="#polymer_43">#
43</a></h3> | 501 <div id="polymer_43"><h3>"dart_support.js" not necessary <a href="#polymer_43">#
43</a></h3> |
| 502 <p>The script <code>packages/web_components/dart_support.js</code> is still used
, but you no | 502 <p>The script <code>packages/web_components/dart_support.js</code> is still used
, but you no |
| 503 longer need to put it in your application's entrypoint.</p> | 503 longer need to put it in your application's entrypoint.</p> |
| 504 <p>In the past this file served two purposes:</p><ul><li>to make dart2js work we
ll with the platform polyfills, and</li><li>to support registering Dart APIs for
JavaScript custom elements.</li></ul> | 504 <p>In the past this file served two purposes:</p><ul><li>to make dart2js work we
ll with the web_components polyfills, and</li><li>to support registering Dart AP
Is for JavaScript custom elements.</li></ul> |
| 505 <p>Now, the code from <code>dart_support.js</code> is split in two halves. The h
alf for | 505 <p>Now, the code from <code>dart_support.js</code> is split in two halves. The h
alf for |
| 506 dart2js is now injected by the polymer transformers automatically during <code>p
ub | 506 dart2js is now injected by the polymer transformers automatically during <code>p
ub |
| 507 build</code>. The <code>web_components</code> package provides an HTML file cont
aining the other | 507 build</code>. The <code>web_components</code> package provides an HTML file cont
aining the other |
| 508 half. Developers of packages that wrap JavaScript custom elements (like | 508 half. Developers of packages that wrap JavaScript custom elements (like |
| 509 <code>core_elements</code> and <code>paper_elements</code>) will import that fil
e directly, so | 509 <code>core_elements</code> and <code>paper_elements</code>) will import that fil
e directly, so |
| 510 application developers don't have to worry about it anymore.</p> | 510 application developers don't have to worry about it anymore.</p> |
| 511 </div><hr /> | 511 </div><hr /> |
| 512 | 512 |
| 513 <div id="polymer_44"><h3>A dart script file was included more than once. <a href
="#polymer_44">#44</a></h3> | 513 <div id="polymer_44"><h3>A dart script file was included more than once. <a href
="#polymer_44">#44</a></h3> |
| 514 <p>Duplicate dart scripts often happen if you have multiple html imports that | 514 <p>Duplicate dart scripts often happen if you have multiple html imports that |
| 515 include the same script. The simplest workaround for this is to move your dart | 515 include the same script. The simplest workaround for this is to move your dart |
| 516 script to its own html file, and import that instead of the script (html imports | 516 script to its own html file, and import that instead of the script (html imports |
| 517 are automatically deduped).</p> | 517 are automatically deduped).</p> |
| 518 <p>For example:</p> | 518 <p>For example:</p> |
| 519 <pre><code><script type="application/dart" src="foo.dart"></script> | 519 <pre><code><script type="application/dart" src="foo.dart"></script> |
| 520 </code></pre> | 520 </code></pre> |
| 521 <p>Should turn into:</p> | 521 <p>Should turn into:</p> |
| 522 <pre><code><link rel="import" href="foo.html"> | 522 <pre><code><link rel="import" href="foo.html"> |
| 523 </code></pre> | 523 </code></pre> |
| 524 <p>And <code>foo.html</code> should look like:</p> | 524 <p>And <code>foo.html</code> should look like:</p> |
| 525 <pre><code><!DOCTYPE html> | 525 <pre><code><!DOCTYPE html> |
| 526 <script type="application/dart" src="foo.dart"></script> | 526 <script type="application/dart" src="foo.dart"></script> |
| 527 </code></pre> | 527 </code></pre> |
| 528 </div><hr /></body> | 528 </div><hr /></body> |
| 529 </html> | 529 </html> |
| OLD | NEW |