Skip to content
This repository has been archived by the owner on Feb 26, 2022. It is now read-only.

Commit

Permalink
Updated to browser 0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
luizmineo committed Apr 28, 2014
1 parent e3af391 commit 5ffad72
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -57,7 +57,6 @@ $ pub get

<body>
<script type="application/dart" src="index.dart"></script>
<script src="packages/browser/interop.js"></script>
<script src="packages/node_webkit/node_webkit.js"></script>
<script src="packages/browser/dart.js"></script>

Expand Down
1 change: 0 additions & 1 deletion example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

<body>
<script type="application/dart" src="index.dart"></script>
<script src="packages/browser/interop.js"></script>
<script src="packages/node_webkit/node_webkit.js"></script>
<script src="packages/browser/dart.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion lib/node_filesystem.dart
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ Future<int> 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"));
}

Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ packages:
browser:
description: browser
source: hosted
version: "0.9.1"
version: "0.10.0+2"
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: node_webkit
author: Luiz Mineo <[email protected]>
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"
browser: ">=0.10.0 <0.11.0"

0 comments on commit 5ffad72

Please sign in to comment.