Commit 8e698e24 authored by Nico Mack's avatar Nico Mack
Browse files

Fixed an issue in set method, failing when non-numerical variables were

parent 77d6fbd6
......@@ -27,8 +27,7 @@ public class JavascriptExecutor extends Executor {
public void set(Variable variable) {
Double numericValue = Double.valueOf(variable.getValue().toString());
engine.put(variable.getName(), numericValue);
engine.put(variable.getName(), variable.getValue());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment