| 270 |
|
|
| 271 |
|
engine.globalObject().setProperty("$xmlData",currXmlFileString); |
| 272 |
|
|
| 273 |
< |
if(this->verboseEnabled){ |
| 274 |
< |
begin = clock(); |
| 275 |
< |
} |
| 273 |
> |
begin = clock(); |
| 274 |
|
|
| 275 |
|
// main needs to be called so the user code is evaluated |
| 276 |
|
// alternatively you can do: myFunc=engine.evaluate('(function main(){})'); myFunc.call(); |
| 457 |
|
} |
| 458 |
|
|
| 459 |
|
command.replace("'","\""); //replace apostrophe by quotes, to avoid problems |
| 460 |
+ |
command.replace("\"\"","'"); // this allow to use '' as ' ('' is transformed in "" and then in ') |
| 461 |
|
|
| 462 |
|
executeCommandOperation(command); |
| 463 |
|
|