diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2008-03-11 21:13:53 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2008-03-11 21:13:53 +0000 |
| commit | c12eeb6315500334d0a244d87f8a88936ee04959 (patch) | |
| tree | f8ffc37515b41260d18e4ddf4012b9a7fa9107fe /src/extension/script/InkscapeScript.cpp | |
| parent | Add more javac stuff. Add target="" attribute to javac (diff) | |
| download | inkscape-c12eeb6315500334d0a244d87f8a88936ee04959.tar.gz inkscape-c12eeb6315500334d0a244d87f8a88936ee04959.zip | |
Got initial JS execution working
(bzr r5057)
Diffstat (limited to '')
| -rw-r--r-- | src/extension/script/InkscapeScript.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extension/script/InkscapeScript.cpp b/src/extension/script/InkscapeScript.cpp index 138c8cb7e..1507c6344 100644 --- a/src/extension/script/InkscapeScript.cpp +++ b/src/extension/script/InkscapeScript.cpp @@ -75,15 +75,15 @@ bool InkscapeScript::interpretScript(const Glib::ustring &script, //if() instead of switch() lets us scope vars if (language == InkscapeScript::JAVASCRIPT) { - langname="Javascript"; + langname="javascript"; } else if (language == InkscapeScript::PYTHON) { - langname="Python"; + langname="python"; } else if (language == InkscapeScript::RUBY) { - langname="Ruby"; + langname="ruby"; } else { |
