seed r98 - trunk/extensions



Author: racarr
Date: Tue Nov  4 04:12:10 2008
New Revision: 98
URL: http://svn.gnome.org/viewvc/seed?rev=98&view=rev

Log:
Fix scope problem.


Modified:
   trunk/extensions/Gio.js

Modified: trunk/extensions/Gio.js
==============================================================================
--- trunk/extensions/Gio.js	(original)
+++ trunk/extensions/Gio.js	Tue Nov  4 04:12:10 2008
@@ -1,10 +1,12 @@
-prototype = Seed.prototype(Gio.FileInputStream);
-
-prototype.get_contents = function()
 {
-	var stream = Gio.DataInputStream._new(this);
-	var line = stream.read_until("", 0);
-	return line;	
+    var prototype = Seed.prototype(Gio.FileInputStream);
+
+    prototype.get_contents = function()
+    {
+	    var stream = Gio.DataInputStream._new(this);
+	    var line = stream.read_until("", 0);
+	    return line;	
+    }
 }
 
 Gio.simple_write = function(file, name)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]