seed r496 - trunk/examples



Author: racarr
Date: Sat Dec 20 02:56:57 2008
New Revision: 496
URL: http://svn.gnome.org/viewvc/seed?rev=496&view=rev

Log:
Fix trash in REPL.

Modified:
   trunk/examples/repl.js

Modified: trunk/examples/repl.js
==============================================================================
--- trunk/examples/repl.js	(original)
+++ trunk/examples/repl.js	Sat Dec 20 02:56:57 2008
@@ -1,5 +1,4 @@
 #!/usr/bin/env seed
-history = [];
 with (Seed)
 {
 	while(1)
@@ -7,7 +6,6 @@
 		try
 		{
 			item = readline("> ");
-			history.push(item);
 			print(eval(item));
 		}
 		catch(e)



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