[seed] Update style in async-quine example
- From: Robert Carr <racarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] Update style in async-quine example
- Date: Tue, 28 Apr 2009 16:10:01 -0400 (EDT)
commit 2ff2b1b858e6736093682ed01ecbb5272b7854d0
Author: Robert Carr <racarr svn gnome org>
Date: Tue Apr 28 15:42:18 2009 -0400
Update style in async-quine example
---
examples/async-quine.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/examples/async-quine.js b/examples/async-quine.js
index 469bc6f..c20c98b 100755
--- a/examples/async-quine.js
+++ b/examples/async-quine.js
@@ -5,12 +5,12 @@ Gio = imports.gi.Gio;
var file = Gio.file_new_for_path("./async-quine.js");
-file.read_async(0, null, function(source, result)
- {
+file.read_async(0, null,
+ function(source, result){
var stream = source.read_finish(result);
var dstream = new Gio.DataInputStream.c_new(stream);
var data = dstream.read_until("", 0);
-
+
Seed.print(data);
Seed.quit();
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]