Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Revert "Fix final Node 6 deprecation warnings"
Browse files Browse the repository at this point in the history
This reverts commit beb5c74.
  • Loading branch information
xzyfer committed Apr 30, 2016
1 parent 9293c4f commit 5da5d8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/callback_bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Nan::MaybeLocal<v8::Function> CallbackBridge<T, L>::get_wrapper_constructor() {
tpl->InstanceTemplate()->SetInternalFieldCount(1);

Nan::SetPrototypeTemplate(tpl, "success",
Nan::New<v8::FunctionTemplate>(ReturnCallback)
Nan::GetFunction(Nan::New<v8::FunctionTemplate>(ReturnCallback)).ToLocalChecked()
);

wrapper_constructor.Reset(Nan::GetFunction(tpl).ToLocalChecked());
Expand Down
2 changes: 1 addition & 1 deletion src/sass_types/boolean.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace SassTypes

tpl->SetClassName(Nan::New("SassBoolean").ToLocalChecked());
tpl->InstanceTemplate()->SetInternalFieldCount(1);
Nan::SetPrototypeTemplate(tpl, "getValue", Nan::New<v8::FunctionTemplate>(GetValue));
Nan::SetPrototypeTemplate(tpl, "getValue", Nan::GetFunction(Nan::New<v8::FunctionTemplate>(GetValue)).ToLocalChecked());

conslocal = Nan::GetFunction(tpl).ToLocalChecked();
constructor.Reset(conslocal);
Expand Down

0 comments on commit 5da5d8a

Please sign in to comment.