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

Unified Diff: samples/dartcombat/README

Issue 9977011: get rid of dependency on htmlconverter for everything but swarm. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 months 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 | « client/tools/htmlconverter_test.py ('k') | samples/hi/README » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « client/tools/htmlconverter_test.py ('k') | samples/hi/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698