File tree 5 files changed +14
-14
lines changed
5 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -180,8 +180,8 @@ void KeyboardWrap::Initialize (Handle<Object> exports)
180
180
NODE_SET_PROTOTYPE_METHOD (tpl, " _press" , Press );
181
181
NODE_SET_PROTOTYPE_METHOD (tpl, " _release" , Release);
182
182
183
- NODE_SET_METHOD (tpl, " compile" , Compile );
184
- NODE_SET_METHOD (tpl, " getState" , GetState);
183
+ NODE_SET_METHOD ((Local<Template>) tpl, " compile" , Compile );
184
+ NODE_SET_METHOD ((Local<Template>) tpl, " getState" , GetState);
185
185
186
186
// Assign function template to our class creator
187
187
constructor.Reset (isolate, tpl->GetFunction ());
Original file line number Diff line number Diff line change @@ -188,9 +188,9 @@ void MouseWrap::Initialize (Handle<Object> exports)
188
188
NODE_SET_PROTOTYPE_METHOD (tpl, " _scrollH" , ScrollH);
189
189
NODE_SET_PROTOTYPE_METHOD (tpl, " _scrollV" , ScrollV);
190
190
191
- NODE_SET_METHOD (tpl, " getPos" , GetPos );
192
- NODE_SET_METHOD (tpl, " _setPos" , SetPos );
193
- NODE_SET_METHOD (tpl, " getState" , GetState);
191
+ NODE_SET_METHOD ((Local<Template>) tpl, " getPos" , GetPos );
192
+ NODE_SET_METHOD ((Local<Template>) tpl, " _setPos" , SetPos );
193
+ NODE_SET_METHOD ((Local<Template>) tpl, " getState" , GetState);
194
194
195
195
// Assign function template to our class creator
196
196
constructor.Reset (isolate, tpl->GetFunction ());
Original file line number Diff line number Diff line change @@ -374,10 +374,10 @@ void ProcessWrap::Initialize (Handle<Object> exports)
374
374
NODE_SET_PROTOTYPE_METHOD (tpl, " getWindows" , GetWindows);
375
375
NODE_SET_PROTOTYPE_METHOD (tpl, " _equals" , Equals );
376
376
377
- NODE_SET_METHOD (tpl, " getList" , GetList );
378
- NODE_SET_METHOD (tpl, " getCurrent" , GetCurrent );
379
- NODE_SET_METHOD (tpl, " _isSys64Bit" , IsSys64Bit );
380
- NODE_SET_METHOD (tpl, " _getSegments" , GetSegments);
377
+ NODE_SET_METHOD ((Local<Template>) tpl, " getList" , GetList );
378
+ NODE_SET_METHOD ((Local<Template>) tpl, " getCurrent" , GetCurrent );
379
+ NODE_SET_METHOD ((Local<Template>) tpl, " _isSys64Bit" , IsSys64Bit );
380
+ NODE_SET_METHOD ((Local<Template>) tpl, " _getSegments" , GetSegments);
381
381
382
382
// Assign function template to our class creator
383
383
constructor.Reset (isolate, tpl->GetFunction ());
Original file line number Diff line number Diff line change @@ -435,10 +435,10 @@ void WindowWrap::Initialize (Handle<Object> exports)
435
435
NODE_SET_PROTOTYPE_METHOD (tpl, " _mapToScreen" , MapToScreen );
436
436
NODE_SET_PROTOTYPE_METHOD (tpl, " _equals" , Equals );
437
437
438
- NODE_SET_METHOD (tpl, " getList" , GetList );
439
- NODE_SET_METHOD (tpl, " getActive" , GetActive );
440
- NODE_SET_METHOD (tpl, " _setActive" , SetActive );
441
- NODE_SET_METHOD (tpl, " isAxEnabled" , IsAxEnabled);
438
+ NODE_SET_METHOD ((Local<Template>) tpl, " getList" , GetList );
439
+ NODE_SET_METHOD ((Local<Template>) tpl, " getActive" , GetActive );
440
+ NODE_SET_METHOD ((Local<Template>) tpl, " _setActive" , SetActive );
441
+ NODE_SET_METHOD ((Local<Template>) tpl, " isAxEnabled" , IsAxEnabled);
442
442
443
443
// Assign function template to our class creator
444
444
constructor.Reset (isolate, tpl->GetFunction ());
Original file line number Diff line number Diff line change 67
67
68
68
"engines" :
69
69
{
70
- "node" : " ~ 0.12 || ^4 || ^5 "
70
+ "node" : " >= 0.12"
71
71
}
72
72
}
You can’t perform that action at this time.
0 commit comments