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 |