Index: lib/io.js |
=================================================================== |
--- a/lib/io.js |
+++ b/lib/io.js |
@@ -69,7 +69,7 @@ |
* each line read and with a null parameter once the read operation is done. |
* The callback will be called when the operation is done. |
*/ |
- readFromFile: function(/**nsIFile*/ file, /**Object*/ listener, /**Function*/ callback) |
+ readFromFile: function*(/**nsIFile*/ file, /**Object*/ listener, /**Function*/ callback) |
{ |
try |
{ |
@@ -194,7 +194,7 @@ |
* Writes string data to a file in UTF-8 format asynchronously. The callback |
* will be called when the write operation is done. |
*/ |
- writeToFile: function(/**nsIFile*/ file, /**Iterator*/ data, /**Function*/ callback) |
+ writeToFile: function*(/**nsIFile*/ file, /**Iterator*/ data, /**Function*/ callback) |
{ |
try |
{ |