OLD | NEW |
---|---|
1 --- | 1 --- |
2 layout: default | 2 layout: default |
3 title: "Get Started" | 3 title: "Get Started" |
4 description: "Get Dart and run two Dart applications" | 4 description: "Get Dart and run two Dart applications" |
5 has-permalinks: true | 5 has-permalinks: true |
6 tutorial: | 6 tutorial: |
7 id: get-started | 7 id: get-started |
8 js: | 8 js: |
9 - url: /js/os-switcher.js | 9 - url: /js/os-switcher.js |
10 defer: true | 10 defer: true |
11 - url: /js/editor-downloads-analytics.js | 11 - url: /js/editor-downloads-analytics.js |
12 defer: true | 12 defer: true |
13 - url: /js/editor-version.js | 13 - url: /js/editor-version.js |
14 defer: true | 14 defer: true |
15 next: connect-dart-html | 15 next: connect-dart-html/ |
16 next-title: "Connect Dart & HTML" | 16 next-title: "Connect Dart & HTML" |
17 prev: index.html | 17 prev: index.html |
Kathy Walrath
2013/07/26 19:33:27
instead of index.html, use /docs/tutorials/
mem
2013/07/26 20:36:32
same change to indexeddb
On 2013/07/26 19:33:27,
| |
18 prev-title: "A Game of Darts" | 18 prev-title: "A Game of Darts" |
19 --- | 19 --- |
20 | 20 |
21 {% capture whats_the_point %} | 21 {% capture whats_the_point %} |
22 | 22 |
23 * The Dart bundle has development tools, APIs, and samples. | 23 * The Dart bundle has development tools, APIs, and samples. |
24 * You can use Dart for web apps and command-line apps. | 24 * You can use Dart for web apps and command-line apps. |
25 * Run Dart web apps directly in Dartium. | 25 * Run Dart web apps directly in Dartium. |
26 * Compile Dart apps to JavaScript for other browsers. | 26 * Compile Dart apps to JavaScript for other browsers. |
27 * All Dart apps have a main() function. | 27 * All Dart apps have a main() function. |
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
445 alt="Run button">. | 445 alt="Run button">. |
446 Dart Editor invokes Dartium, | 446 Dart Editor invokes Dartium, |
447 which loads the clickme app's HTML file, | 447 which loads the clickme app's HTML file, |
448 and thus, loads the app. | 448 and thus, loads the app. |
449 | 449 |
450 Here is the clickme app running in a frame. | 450 Here is the clickme app running in a frame. |
451 **Try it!** Click the text. | 451 **Try it!** Click the text. |
452 | 452 |
453 <iframe class="running-app-frame" | 453 <iframe class="running-app-frame" |
454 style="height:510px;width:500px;" | 454 style="height:510px;width:500px;" |
455 src="http://dart-lang.github.com/dart-tutorials-samples/web/target01/cli ckme/web/clickme.html"> | 455 src="http://dart-lang.github.io/dart-tutorials-samples/web/target01/clic kme/web/clickme.html"> |
456 </iframe> | 456 </iframe> |
457 | 457 |
458 You can run Dart web applications in other browsers | 458 You can run Dart web applications in other browsers |
459 by compiling to JavaScript. | 459 by compiling to JavaScript. |
460 You will do this in the next target, | 460 You will do this in the next target, |
461 when you learn about runtime configurations called launches. | 461 when you learn about runtime configurations called launches. |
462 | 462 |
463 ##About the HTML, CSS and Dart triumvirate {#source-files} | 463 ##About the HTML, CSS and Dart triumvirate {#source-files} |
464 | 464 |
465 Typically three files—an HTML file, a Dart file, | 465 Typically three files—an HTML file, a Dart file, |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
571 The <a href="/docs/">Programmer's Guide</a> | 571 The <a href="/docs/">Programmer's Guide</a> |
572 points you to docs, articles, | 572 points you to docs, articles, |
573 and other resources to help you as you create, | 573 and other resources to help you as you create, |
574 test, and deploy Dart code. | 574 test, and deploy Dart code. |
575 </li> | 575 </li> |
576 </ul> | 576 </ul> |
577 | 577 |
578 {% endcapture %} | 578 {% endcapture %} |
579 | 579 |
580 {% include tutorial.html %} | 580 {% include tutorial.html %} |
OLD | NEW |