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

Side by Side Diff: pkg/js/README.md

Issue 1404873004: pkg/js: Big cleanup to README. Added CHANGELOG. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: rebase Created 5 years, 2 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 | « pkg/js/CHANGELOG.md ('k') | pkg/js/pubspec.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Dart-JavaScript Interop
2 =======================
3
4 Status
5 ------
6
7 Version 0.6.0 is a complete rewrite of package:js
8
9 The package now only contains annotations specifying the shape of the 1 The package now only contains annotations specifying the shape of the
10 JavaScript API to import into Dart. 2 JavaScript API to import into Dart.
11 The core implementation is defined directly in Dart2Js, Dartium, and DDC.
12 3
13 **Warning: support in Dartium and Dart2Js is still in progress. 4 The core implementation is defined directly in Dart2Js, Dartium, and dev_compile r.
14 5
15 #### Example - TODO(jacobr) 6 ## Contributing and Filing Bugs
16 7
17 Configuration and Initialization 8 Please file bugs and features requests on the [Github issue tracker](https://git hub.com/dart-lang/js-interop/issues).
18 --------------------------------
19 9
20 ### Adding the dependency 10 We also love and accept community contributions, from API suggestions to pull re quests.
11 Please file an issue before beginning work so we can discuss the design and impl ementation.
12 We are trying to create issues for all current and future work, so if something there intrigues you (or you need it!) join in on the discussion.
21 13
22 Add the following to your `pubspec.yaml`: 14 All we require is that you sign the
23 15 [Google Individual Contributor License Agreement](https://developers.google.com/ open-source/cla/individual?csw=1).
24 ```yaml
25 dependencies:
26 js: ">=0.6.0 <0.7.0"
27 ```
28
29 ##### main.html
30
31 ```html
32 <html>
33 <head>
34 </head>
35 <body>
36 <script type="application/dart" src="main.dart"></script>
37 </body>
38 </html>
39 ```
40
41 ##### main.dart
42
43 TODO(jacobr): example under construction.
44 ```dart
45 library main;
46
47 import 'package:js/js.dart';
48
49 main() {
50 }
51 ```
52
53 Contributing and Filing Bugs
54 ----------------------------
55
56 Please file bugs and features requests on the Github issue tracker: https://gith ub.com/dart-lang/js-interop/issues
57
58 We also love and accept community contributions, from API suggestions to pull re quests. Please file an issue before beginning work so we can discuss the design and implementation. We are trying to create issues for all current and future wo rk, so if something there intrigues you (or you need it!) join in on the discuss ion.
59
60 All we require is that you sign the Google Individual Contributor License Agreem ent https://developers.google.com/open-source/cla/individual?csw=1
OLDNEW
« no previous file with comments | « pkg/js/CHANGELOG.md ('k') | pkg/js/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698