Subversion Repositories HomeAutomation

Rev

Rev 1647 | Rev 1657 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1647 Rev 1648
Line 183... Line 183...
183
 
183
 
184
Value Console::Export_PromptRequest(const v8::Arguments& args)
184
Value Console::Export_PromptRequest(const v8::Arguments& args)
185
{
185
{
186
    v8::Context::Scope context_scope(vm::Manager::Instance()->GetContext());
186
    v8::Context::Scope context_scope(vm::Manager::Instance()->GetContext());
187
   
187
   
188
    LOG.Debug(std::string(__FUNCTION__) + " called!");
188
    //LOG.Debug(std::string(__FUNCTION__) + " called!");
189
   
189
   
190
    if (args.Length() < 2)
190
    if (args.Length() < 2)
191
    {
191
    {
192
        LOG.Error(std::string(__FUNCTION__) + ": To few arguments.");
192
        LOG.Error(std::string(__FUNCTION__) + ": To few arguments.");
193
        return v8::Boolean::New(false);
193
        return v8::Boolean::New(false);
Line 207... Line 207...
207
 
207
 
208
Value Console::Export_AutoCompleteResponse(const v8::Arguments& args)
208
Value Console::Export_AutoCompleteResponse(const v8::Arguments& args)
209
{
209
{
210
    v8::Context::Scope context_scope(vm::Manager::Instance()->GetContext());
210
    v8::Context::Scope context_scope(vm::Manager::Instance()->GetContext());
211
   
211
   
212
    LOG.Debug(std::string(__FUNCTION__) + " called!");
212
    //LOG.Debug(std::string(__FUNCTION__) + " called!");
213
   
213
   
214
    if (args.Length() < 2)
214
    if (args.Length() < 2)
215
    {
215
    {
216
        LOG.Error(std::string(__FUNCTION__) + ": To few arguments.");
216
        LOG.Error(std::string(__FUNCTION__) + ": To few arguments.");
217
        return v8::Boolean::New(false);
217
        return v8::Boolean::New(false);