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

Side by Side Diff: src/site/articles/embedding-in-html/index.html

Issue 11366023: Updated tech overview (Closed) Base URL: git@github.com:dart-lang/dartlang.org.git@master
Patch Set: Created 8 years, 1 month 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 unified diff | Download patch
OLDNEW
1 --- 1 ---
2 layout: default 2 layout: default
3 title: "Embedding Dart in HTML" 3 title: "Embedding Dart in HTML"
4 description: "In this article by Sigmund Cherem and Vijay Menon, find out how yo u'll be able to embed Dart directly on HTML pages." 4 description: "In this article by Sigmund Cherem and Vijay Menon, find out how yo u'll be able to embed Dart directly on HTML pages."
5 has-permalinks: true 5 has-permalinks: true
6 --- 6 ---
7 <h1> Embedding Dart in HTML </h1> 7 <h1> Embedding Dart in HTML </h1>
8 8
9 <p> 9 <p>
10 <em>Written by Sigmund Cherem and Vijay Menon<br> 10 <em>Written by Sigmund Cherem and Vijay Menon<br>
(...skipping 15 matching lines...) Expand all
26 a semantically equivalent page embedding JavaScript. 26 a semantically equivalent page embedding JavaScript.
27 </p> 27 </p>
28 </section> 28 </section>
29 29
30 <section> 30 <section>
31 <h2> Dart MIME type </h2> 31 <h2> Dart MIME type </h2>
32 32
33 <p> 33 <p>
34 HTML <code>script</code> tags provide a 34 HTML <code>script</code> tags provide a
35 <code>type</code> attribute to define the language of the script. 35 <code>type</code> attribute to define the language of the script.
36 For Dart, this attribute has the value 'application/dart'. 36 For Dart, this attribute has the value <code>'application/dart'</code>.
37 </p> 37 </p>
38 38
39 <p> 39 <p>
40 Like other script tags, 40 Like other script tags,
41 the script contents can be 41 the script contents can be
42 inlined as the body of the <code>script</code> tag 42 inlined as the body of the <code>script</code> tag
43 or specified by reference via a URL using 43 or specified by reference via a URL using
44 the <code>script</code> tag&rsquo;s <code>src</code> attribute. 44 the <code>script</code> tag&rsquo;s <code>src</code> attribute.
45 </p> 45 </p>
46 46
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 hello('Hello from Dart'); 224 hello('Hello from Dart');
225 } 225 }
226 </script> 226 </script>
227 <div id="message"></div> 227 <div id="message"></div>
228 </body> 228 </body>
229 </html> 229 </html>
230 {% endhighlight %} 230 {% endhighlight %}
231 </section> 231 </section>
232 232
233 233
OLDNEW
« no previous file with comments | « no previous file | src/site/docs/dart-up-and-running/ch05.html » ('j') | src/site/docs/technical-overview/index.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698