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

Side by Side Diff: USAGE.md

Issue 1235393004: Use standard harmony flag (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | karma.conf.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Usage 1 # Usage
2 2
3 The [Dart Dev Compiler](README.md) (DDC) is an **experimental** 3 The [Dart Dev Compiler](README.md) (DDC) is an **experimental**
4 development tool and transpiler. In particular, the ES6 backend is 4 development tool and transpiler. In particular, the ES6 backend is
5 still incomplete, under heavy development, and not yet ready for 5 still incomplete, under heavy development, and not yet ready for
6 production use. 6 production use.
7 7
8 With those caveats, we welcome feedback. 8 With those caveats, we welcome feedback.
9 9
10 ## Installation 10 ## Installation
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 local server via: 56 local server via:
57 57
58 $ dartdevc --server main.dart 58 $ dartdevc --server main.dart
59 59
60 ## Testing in Chrome Canary 60 ## Testing in Chrome Canary
61 61
62 Launch Chrome Canary at the URL shown by the above. You will need to 62 Launch Chrome Canary at the URL shown by the above. You will need to
63 explicitly enable ES6 (harmony) features: this can be done via the 63 explicitly enable ES6 (harmony) features: this can be done via the
64 command line. E.g., on a Mac: 64 command line. E.g., on a Mac:
65 65
66 $ /Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Ca nary --js-flags="--harmony-arrow-functions --harmony-classes --harmony-computed- property-names" http://localhost:8080 66 $ /Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Ca nary --js-flags="--harmony" http://localhost:8080
67 67
68 Remember to open the Developer Tools to see the output of a print. 68 Remember to open the Developer Tools to see the output of a print.
69 69
70 DDC does not yet support ```dart:html```, but it does allow raw access 70 DDC does not yet support ```dart:html```, but it does allow raw access
71 to the JavaScript DOM. See our [modified version](https://github.com/dart-lang/ dev_compiler/blob/master/test/codegen/sunflower/sunflower.dart) of Dart Sunflowe r for 71 to the JavaScript DOM. See our [modified version](https://github.com/dart-lang/ dev_compiler/blob/master/test/codegen/sunflower/sunflower.dart) of Dart Sunflowe r for
72 an example. 72 an example.
73 73
74 ## Feedback 74 ## Feedback
75 75
76 Please file issues in our [GitHub issue tracker](https://github.com/dart-lang/de v_compiler/issues). 76 Please file issues in our [GitHub issue tracker](https://github.com/dart-lang/de v_compiler/issues).
77 77
78 You can also view or join our [mailing list](https://groups.google.com/a/dartlan g.org/forum/#!forum/dev-compiler). 78 You can also view or join our [mailing list](https://groups.google.com/a/dartlan g.org/forum/#!forum/dev-compiler).
79 79
80 80
81 81
OLDNEW
« no previous file with comments | « no previous file | karma.conf.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698