From: ishmal Date: Wed, 12 Mar 2008 18:55:33 +0000 (+0000) Subject: Better test X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=927681593f48281b2af7e203c285b07b4ee00a6b;p=inkscape.git Better test --- 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"