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

Unified Diff: pkg/js/README.md

Issue 1456223002: pkg/js: prepare for 0.6.0 release (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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 | « pkg/js/CHANGELOG.md ('k') | pkg/js/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/js/README.md
diff --git a/pkg/js/README.md b/pkg/js/README.md
index 4bf89be3df85a0dc78739ea2ca1ce7505b682d2f..3ba66d1c479a7994039e8713f6cef7b7df543686 100644
--- a/pkg/js/README.md
+++ b/pkg/js/README.md
@@ -1,8 +1,8 @@
Methods and annotations to specify interoperability with JavaScript APIs.
-*Note: This package is beta software.*
+*This packages requires Dart SDK 1.13.0.*
-*Note: This packages requires Dart SDK `>=1.13.0-dev.7`.*
+*This is beta software. Please files [issues].*
### Adding the dependency
@@ -10,19 +10,16 @@ Add the following to your `pubspec.yaml`:
```yaml
dependencies:
- js: ^0.6.0-beta
+ js: ^0.6.0
```
-#### Passing functions to JavaScript.
-
-If you are passing a Dart function to a JavaScript API, you must wrap it using
-`allowInterop` or `allowInteropCaptureThis`.
-
-### Examples
+### Example
See the [Chart.js Dart API](https://github.com/google/chartjs.dart/) for an
end-to-end example.
+### Usage
+
#### Calling methods
```dart
@@ -91,9 +88,14 @@ class Options {
}
```
+#### Passing functions to JavaScript.
+
+If you are passing a Dart function to a JavaScript API, you must wrap it using
+`allowInterop` or `allowInteropCaptureThis`.
+
## Contributing and Filing Bugs
-Please file bugs and features requests on the [Github issue tracker](https://github.com/dart-lang/sdk/issues).
+Please file bugs and features requests on the [Github issue tracker][issues].
We also love and accept community contributions, from API suggestions to pull requests.
Please file an issue before beginning work so we can discuss the design and implementation.
@@ -101,3 +103,5 @@ We are trying to create issues for all current and future work, so if something
Code contributors must sign the
[Google Individual Contributor License Agreement](https://developers.google.com/open-source/cla/individual?csw=1).
+
+[issues]: https://goo.gl/j3rzs0
« 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