From 927681593f48281b2af7e203c285b07b4ee00a6b Mon Sep 17 00:00:00 2001 From: ishmal Date: Wed, 12 Mar 2008 18:55:33 +0000 Subject: [PATCH] Better test --- src/ui/dialog/scriptdialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/dialog/scriptdialog.cpp b/src/ui/dialog/scriptdialog.cpp index ff075c186..7b299b700 100644 --- a/src/ui/dialog/scriptdialog.cpp +++ b/src/ui/dialog/scriptdialog.cpp @@ -115,8 +115,10 @@ static const char *defaultCodeStr = " * This is some example Javascript.\n" " * Try 'Execute Javascript'\n" " */\n" + "importPackage(javax.swing);\n" "function sayHello() {\n" - " println('Hello, world!');\n" + " JOptionPane.showMessageDialog(null, 'Hello, world!',\n" + " 'Welcome to Inkscape', JOptionPane.WARNING_MESSAGE);\n" "}\n" "\n" "sayHello();\n" -- 2.30.2