seed r496 - trunk/examples
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r496 - trunk/examples
- Date: Sat, 20 Dec 2008 02:56:57 +0000 (UTC)
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]