diff --git a/CHANGELOG.md b/CHANGELOG.md index a8f08ae..ce108c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ +## v0.0.7 +- Updated to browser `0.10.x` +- Updated documentation (removed `browser/interop.js`) + ## v0.0.6 - Fix: Some functions in `node_filesystem.dart` are not handling Buffer objects properly diff --git a/README.md b/README.md index 6a9a362..c117bfd 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Introduction node-webkit.dart is a [Dart](http://www.dartlang.org/) package to build [node-webkit](https://github.com/rogerwang/node-webkit) apps. -To see how the node-webkit's API looks like in Dart, check out the sample application [here](https://github.com/luizmineo/node-webkit.dart/releases/tag/v0.0.6). Just download the **dart_examples.nw** archive, and open it with node-webkit. +To see how the node-webkit's API looks like in Dart, check out the sample application [here](https://github.com/luizmineo/node-webkit.dart/releases/tag/v0.0.7). Just download the **dart_examples.nw** archive, and open it with node-webkit. ``` $ nw dart_examples.nw @@ -57,7 +57,6 @@ $ pub get - diff --git a/example/index.html b/example/index.html index 2222e80..60c67d6 100644 --- a/example/index.html +++ b/example/index.html @@ -6,7 +6,6 @@ - diff --git a/lib/node_filesystem.dart b/lib/node_filesystem.dart index 38c802d..89f215d 100644 --- a/lib/node_filesystem.dart +++ b/lib/node_filesystem.dart @@ -651,7 +651,7 @@ Future write(int fd, Buffer buffer, int offset, int length, [int position]) * Returns the number of bytes written. Throws a [FileSystemException] if the operation fails. */ int writeSync(int fd, Buffer buffer, int offset, int length, [int position]) { - _fs.callFunction("writeSync", [fd, buffer.jsObject, offset, length, position], + return _fs.callFunction("writeSync", [fd, buffer.jsObject, offset, length, position], errorHandler: _createErrorHandler("fd: $fd")); } diff --git a/pubspec.lock b/pubspec.lock index 2016791..e6e9894 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -4,4 +4,4 @@ packages: browser: description: browser source: hosted - version: "0.9.1" + version: "0.10.0+2" diff --git a/pubspec.yaml b/pubspec.yaml index ba50447..5811921 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: node_webkit author: Luiz Mineo -version: 0.0.6 -description: "node-webkit.dart is a Dart package to build node-webkit apps" +version: 0.0.7 +description: node-webkit.dart is a Dart package to build node-webkit apps homepage: https://github.com/luizmineo/node-webkit.dart dependencies: - browser: ">=0.9.0 <0.10.0" \ No newline at end of file + browser: ">=0.10.0 <0.11.0" \ No newline at end of file