Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Unified Diff: pkg/polymer/lib/src/build/generated/messages.html

Issue 780813003: generate new message details page and fix logic for injecting {%raw} tags only when making messages… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/polymer/tool/create_message_details_page.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/lib/src/build/generated/messages.html
diff --git a/pkg/polymer/lib/src/build/generated/messages.html b/pkg/polymer/lib/src/build/generated/messages.html
index 7bdc6971a451fc5e53ea66e7d4bec890258f522c..5ef165b539acbe5eb7d683675c00679653ca2a8b 100644
--- a/pkg/polymer/lib/src/build/generated/messages.html
+++ b/pkg/polymer/lib/src/build/generated/messages.html
@@ -498,7 +498,7 @@ To do this, use the following pattern to update your pubspec.yaml:</p>
but assign the value to true.</p>
</div><hr />
-<div id="polymer_43"><h3>"dart_support.js" not necessary <a href="#polymer_43">#43</a></h3>
+<div id="polymer_43"><h3>"dart_support.js" injected automatically <a href="#polymer_43">#43</a></h3>
<p>The script <code>packages/web_components/dart_support.js</code> is still used, but you no
longer need to put it in your application's entrypoint.</p>
<p>In the past this file served two purposes:</p><ul><li>to make dart2js work well with the web_components polyfills, and</li><li>to support registering Dart APIs for JavaScript custom elements.</li></ul>
@@ -510,7 +510,7 @@ half. Developers of packages that wrap JavaScript custom elements (like
application developers don't have to worry about it anymore.</p>
</div><hr />
-<div id="polymer_44"><h3>A dart script file was included more than once. <a href="#polymer_44">#44</a></h3>
+<div id="polymer_44"><h3>Dart script file included more than once. <a href="#polymer_44">#44</a></h3>
<p>Duplicate dart scripts often happen if you have multiple html imports that
include the same script. The simplest workaround for this is to move your dart
script to its own html file, and import that instead of the script (html imports
@@ -522,8 +522,24 @@ are automatically deduped).</p>
<pre><code>&lt;link rel="import" href="foo.html"&gt;
</code></pre>
<p>And <code>foo.html</code> should look like:</p>
-<pre><code>&lt;!DOCTYPE html&gt;
-&lt;script type="application/dart" src="foo.dart"&gt;&lt;/script&gt;
+<pre><code>&lt;script type="application/dart" src="foo.dart"&gt;&lt;/script&gt;
</code></pre>
+</div><hr />
+
+<div id="polymer_45"><h3>"webcomponents.js" injected automatically <a href="#polymer_45">#45</a></h3>
+<p>The script <code>packages/web_components/webcomponents.js</code> is still used, but you no
+longer need to put it in your application's entrypoint.</p>
+<p>The polyfills provided by this file are no longer required in chrome and will
+automatically be added during <code>pub build</code> and <code>pub serve</code>.</p>
+</div><hr />
+
+<div id="polymer_46"><h3>"platform.js" renamed to "webcomponents.js". <a href="#polymer_46">#46</a></h3>
+<p>The script <code>packages/web_components/platform.js</code> has been renamed to
+<code>packages/web_components/webcomponents.js</code>. This is automatically fixed in
+<code>pub serve</code> and <code>pub build</code> but we may remove this functionality in the next
+breaking version of Polymer.</p>
+<p>In addition, it is no longer required that you include this file directly, as
+<code>pub build</code> and <code>pub serve</code> will inject it for you, and its not required when
+running in dartium with a local server.</p>
</div><hr /></body>
</html>
« no previous file with comments | « no previous file | pkg/polymer/tool/create_message_details_page.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698