Chromium Code Reviews| Index: samples/dartcombat/README |
| =================================================================== |
| --- samples/dartcombat/README (revision 6168) |
| +++ samples/dartcombat/README (working copy) |
| @@ -13,13 +13,16 @@ |
| 2. build the dartc compiler: |
| $ ./tools/build.py --arch=ia32 |
| -3. run the htmlconverter tool, that converts the dart code to javascript: |
| - $ python ./client/tools/htmlconverter.py \ |
| - client/samples/dartcombat/dartcombat.html -o out/ |
| +3. either compile the Dart code to JavaScript, or load the code directly into |
| + Dartium: |
| -4. open the generated file in a browser: |
| - $ google-chrome out/client/samples/dartcombat/dartcombat-js.html |
| + - to compile the code: |
| + $(DART_SDK)/bin/frogc --out=dartcombat.dart.js dartcombat.dart |
|
Siggi Cherem (dart-lang)
2012/04/04 18:02:21
does dart.js search 'foo.dart' and 'foo.dart.js'?
|
| +4. open the generated file in a browser (either Dartium, Chrome, or another |
| + supported browser): |
| + $ google-chrome dartcombat.html |
| + |
| Using dartcombat: |
| Dartcombat works as follows: |