Changeset 15128 for trunk


Ignore:
Timestamp:
03/20/13 18:44:13 (12 years ago)
Author:
tbretz
Message:
Do not print 'use strict' as result... this produces starnge results if somebody really wants to get that, but this is more unlikely than the 'use strict' annoying in the data stream.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/RemoteControl.h

    r15102 r15128  
    167167    bool  JsSend(const std::string &str)      { return ProcessCommand(str, false); }
    168168    void  JsOut(const std::string &msg)       { lin << msg << endl; }
    169     void  JsResult(const std::string &msg)    { lin << kBlue << " = " << msg << '\n' << endl; }
     169    void  JsResult(const std::string &msg)    { if (msg!="use strict") lin << kBlue << " = " << msg << '\n' << endl; }
    170170    void  JsPrint(const std::string &msg)     { if (fImp) fImp->Comment(msg); }
    171171    void  JsAlarm(const std::string &msg)     { if (fImp) fImp->Alarm(msg); }
Note: See TracChangeset for help on using the changeset viewer.