Changeset 14994 for trunk/FACT++


Ignore:
Timestamp:
03/09/13 11:01:59 (12 years ago)
Author:
tbretz
Message:
Avoid to output results of internal functions (ExecuteCode called with file=='internal')
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/InterpreterV8.cc

    r14987 r14994  
    306306                      "}";
    307307    if (timeout)
    308         code +=    "if(ms>0)throw new Error('Waitig for state "+arg1+" of server "+arg0+" timed out.');";
     308        code +=    "if(ms>0)throw new Error('Waiting for state "+arg1+" of server "+arg0+" timed out.');";
    309309    code +=        "return false;"
    310310                   "})('"+arg0+"',"+arg1;
     
    18221822    // If all went well and the result wasn't undefined then print
    18231823    // the returned value.
    1824     if (!result.IsEmpty() && !result->IsUndefined())
     1824    if (!result.IsEmpty() && !result->IsUndefined() && file!="internal")
    18251825        JsResult(*String::AsciiValue(result));
    18261826
Note: See TracChangeset for help on using the changeset viewer.