Changeset 14556 for trunk


Ignore:
Timestamp:
11/03/12 19:43:32 (12 years ago)
Author:
tbretz
Message:
Added 'comment' to state info.
File:
1 edited

Legend:

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

    r14555 r14556  
    899899    {
    900900        Handle<ObjectTemplate> obj = ObjectTemplate::New();
    901         obj->Set(String::New("index"),  state.index<=-256?Undefined():Integer::New(state.index),       ReadOnly);
    902         obj->Set(String::New("name"),   state.index<=-256?Undefined():String::New(state.name.c_str()), ReadOnly);
    903         obj->Set(String::New("server"), String::New(server.c_str()), ReadOnly);
     901        obj->Set(String::New("index"),   state.index<=-256?Undefined():Integer::New(state.index),          ReadOnly);
     902        obj->Set(String::New("name"),    state.index<=-256?Undefined():String::New(state.name.c_str()),    ReadOnly);
     903        obj->Set(String::New("comment"), state.index<=-256?Undefined():String::New(state.comment.c_str()), ReadOnly);
     904        obj->Set(String::New("server"),  String::New(server.c_str()), ReadOnly);
    904905        if (state.index>-256)
    905906            obj->Set(String::New("time"), date);
Note: See TracChangeset for help on using the changeset viewer.