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

Unified Diff: samples/slider/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
Index: samples/slider/README
===================================================================
--- samples/slider/README (revision 6168)
+++ samples/slider/README (working copy)
@@ -12,10 +12,12 @@
2. build the dartc compiler:
$ ./tools/build.py --arch=ia32
-3. run the htmlconverter tool, that converts the dart code to javascript:
- $ cd client/
- $ python ./tools/htmlconverter.py \
- samples/slider/slider_sample.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/slider/slider_sample-js.html
+ - to compile the code:
+ $(DART_SDK)/bin/frogc --out=slide_sample.dart.js slide_sample.dart
+
+4. open the generated file in a browser (either Dartium, Chrome, or another
+ supported browser):
+ $ google-chrome slide_sample.html

Powered by Google App Engine
This is Rietveld 408576698