Rev 1647 | Rev 1656 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1647 | Rev 1648 | ||
|---|---|---|---|
| Line 60... | Line 60... | ||
| 60 | 60 | ||
| 61 | Value System::Export_Require(const v8::Arguments& args) |
61 | Value System::Export_Require(const v8::Arguments& args) |
| 62 | { |
62 | { |
| 63 | v8::Context::Scope context_scope(vm::Manager::Instance()->GetContext()); |
63 | v8::Context::Scope context_scope(vm::Manager::Instance()->GetContext()); |
| 64 | 64 | ||
| 65 | LOG. |
65 | //LOG.Debug(std::string(__FUNCTION__) + " called!"); |
| 66 | 66 | ||
| 67 | if (args.Length() < 1) |
67 | if (args.Length() < 1) |
| 68 | { |
68 | { |
| 69 | LOG.Error(std::string(__FUNCTION__) + ": To few arguments."); |
69 | LOG.Error(std::string(__FUNCTION__) + ": To few arguments."); |
| 70 | return v8::Boolean::New(false); |
70 | return v8::Boolean::New(false); |
| Line 77... | Line 77... | ||
| 77 | 77 | ||
| 78 | Value System::Export_Execute(const v8::Arguments& args) |
78 | Value System::Export_Execute(const v8::Arguments& args) |
| 79 | { |
79 | { |
| 80 | v8::Context::Scope context_scope(vm::Manager::Instance()->GetContext()); |
80 | v8::Context::Scope context_scope(vm::Manager::Instance()->GetContext()); |
| 81 | 81 | ||
| 82 | LOG. |
82 | //LOG.Debug(std::string(__FUNCTION__) + " called!"); |
| 83 | 83 | ||
| 84 | if (args.Length() < 1) |
84 | if (args.Length() < 1) |
| 85 | { |
85 | { |
| 86 | LOG.Error(std::string(__FUNCTION__) + ": To few arguments."); |
86 | LOG.Error(std::string(__FUNCTION__) + ": To few arguments."); |
| 87 | return v8::Boolean::New(false); |
87 | return v8::Boolean::New(false); |