Rev 1647 | Rev 1741 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1647 | Rev 1740 | ||
|---|---|---|---|
| Line 55... | Line 55... | ||
| 55 | LOG.Info(output); |
55 | LOG.Info(output); |
| 56 | } |
56 | } |
| 57 | 57 | ||
| 58 | Value Storage::Export_GetParameters(const v8::Arguments& args) |
58 | Value Storage::Export_GetParameters(const v8::Arguments& args) |
| 59 | { |
59 | { |
| - | 60 | v8::Locker lock; |
|
| 60 | v8::Context::Scope context_scope(vm::Manager::Instance()->GetContext()); |
61 | v8::Context::Scope context_scope(vm::Manager::Instance()->GetContext()); |
| 61 | 62 | ||
| 62 | //LOG.Debug(std::string(__FUNCTION__) + " called!"); |
63 | //LOG.Debug(std::string(__FUNCTION__) + " called!"); |
| 63 | 64 | ||
| 64 | if (args.Length() < 1) |
65 | if (args.Length() < 1) |
| Line 81... | Line 82... | ||
| 81 | return params; |
82 | return params; |
| 82 | } |
83 | } |
| 83 | 84 | ||
| 84 | Value Storage::Export_GetParameter(const v8::Arguments& args) |
85 | Value Storage::Export_GetParameter(const v8::Arguments& args) |
| 85 | { |
86 | { |
| - | 87 | v8::Locker lock; |
|
| 86 | v8::Context::Scope context_scope(vm::Manager::Instance()->GetContext()); |
88 | v8::Context::Scope context_scope(vm::Manager::Instance()->GetContext()); |
| 87 | 89 | ||
| 88 | //LOG.Debug(std::string(__FUNCTION__) + " called!"); |
90 | //LOG.Debug(std::string(__FUNCTION__) + " called!"); |
| 89 | 91 | ||
| 90 | if (args.Length() < 2) |
92 | if (args.Length() < 2) |
| Line 110... | Line 112... | ||
| 110 | return result; |
112 | return result; |
| 111 | } |
113 | } |
| 112 | 114 | ||
| 113 | Value Storage::Export_SetParameter(const v8::Arguments& args) |
115 | Value Storage::Export_SetParameter(const v8::Arguments& args) |
| 114 | { |
116 | { |
| - | 117 | v8::Locker lock; |
|
| 115 | v8::Context::Scope context_scope(vm::Manager::Instance()->GetContext()); |
118 | v8::Context::Scope context_scope(vm::Manager::Instance()->GetContext()); |
| 116 | 119 | ||
| 117 | //LOG.Debug(std::string(__FUNCTION__) + " called!"); |
120 | //LOG.Debug(std::string(__FUNCTION__) + " called!"); |
| 118 | 121 | ||
| 119 | if (args.Length() < 3) |
122 | if (args.Length() < 3) |