Ignore:
Timestamp:
06/08/12 17:03:27 (12 years ago)
Author:
tbretz
Message:
Fixed a typo.
File:
1 edited

Legend:

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

    r14103 r14122  
    216216    Handle<ObjectTemplate> obj = ObjectTemplate::New();
    217217
    218 
    219218    obj->Set(String::New("index"), rc.first<=-256?Undefined():Integer::New(rc.first),         ReadOnly);
    220219    obj->Set(String::New("name"),  rc.first<=-256?Undefined():String::New(rc.second.c_str()), ReadOnly);
    221220    //obj->Set(String::New("toString"),  String::New(("[Object state "+string(*str)+"]").c_str()), ReadOnly);
    222  
     221
    223222    return handle_scope.Close(obj->NewInstance());
    224223}
     
    334333    ret->Set(String::New("counter"), Integer::New(p.first), ReadOnly);
    335334    ret->Set(String::New("time"),    Date::New(evt->GetJavaDate()), ReadOnly);
    336     ret->Set(String::New("qos"),     Interger::New(evt->GetQoS()), ReadOnly);
     335    ret->Set(String::New("qos"),     Integer::New(evt->GetQoS()), ReadOnly);
    337336
    338337    typedef boost::char_separator<char> separator;
     
    448447    // Create a template for the global object.
    449448    Handle<ObjectTemplate> dim = ObjectTemplate::New();
    450     dim->Set(String::New("print"),   FunctionTemplate::New(WrapPrint),   ReadOnly);
    451     dim->Set(String::New("wait"),    FunctionTemplate::New(WrapWait),    ReadOnly);
    452     dim->Set(String::New("send"),    FunctionTemplate::New(WrapSend),    ReadOnly);
    453     dim->Set(String::New("state"),   FunctionTemplate::New(WrapState),   ReadOnly);
    454     dim->Set(String::New("sleep"),   FunctionTemplate::New(WrapSleep),   ReadOnly);
    455     dim->Set(String::New("open"),    FunctionTemplate::New(WrapOpen), ReadOnly);
     449    dim->Set(String::New("print"),   FunctionTemplate::New(WrapPrint), ReadOnly);
     450    dim->Set(String::New("wait"),    FunctionTemplate::New(WrapWait),  ReadOnly);
     451    dim->Set(String::New("send"),    FunctionTemplate::New(WrapSend),  ReadOnly);
     452    dim->Set(String::New("state"),   FunctionTemplate::New(WrapState), ReadOnly);
     453    dim->Set(String::New("sleep"),   FunctionTemplate::New(WrapSleep), ReadOnly);
     454    dim->Set(String::New("open"),    FunctionTemplate::New(WrapOpen),  ReadOnly);
    456455
    457456    Handle<ObjectTemplate> global = ObjectTemplate::New();
Note: See TracChangeset for help on using the changeset viewer.