Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
No JS top level commands for the Groovy console
  • Loading branch information
egonw committed Jan 18, 2012
1 parent 7d9a228 commit d6ec026
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -45,9 +45,9 @@ public class GroovyThread extends ScriptingThread {
public static Map<String, String[]> topLevelCommands
= new HashMap<String, String[]>() {{
// { "fn name" => [ "parameters", "fn body" ] }
put("clear", new String[] { "", "js.clear()" } );
put("print", new String[] { "message", "js.print(message)" } );
put("say", new String[] { "message", "js.say(message)" } );
// put("clear", new String[] { "", "js.clear()" } );
// put("print", new String[] { "message", "js.print(message)" } );
// put("say", new String[] { "message", "js.say(message)" } );
}};

private static void initJs() {
Expand Down

0 comments on commit d6ec026

Please sign in to comment.