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

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

Issue 1318043005: Support user generated custom native JS classes. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: about to land 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/PATENTS ('k') | pkg/js/lib/js.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
10 JavaScript API to import into Dart.
11 The core implementation is defined directly in Dart2Js, Dartium, and DDC.
12
13 **Warning: support in Dartium and Dart2Js is still in progress.
14
15 #### Example - TODO(jacobr)
16
17 Configuration and Initialization
18 --------------------------------
19
20 ### Adding the dependency
21
22 Add the following to your `pubspec.yaml`:
23
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/PATENTS ('k') | pkg/js/lib/js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698