We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9ce7b6 commit 7de2441Copy full SHA for 7de2441
src/CanvasRenderingContext2d.cc
@@ -1718,7 +1718,7 @@ NAN_SETTER(Context2d::SetCurrentTransform) {
1718
Context2d *context = Nan::ObjectWrap::Unwrap<Context2d>(info.This());
1719
Local<Context> ctx = Nan::GetCurrentContext();
1720
1721
-#if NODE_MAJOR_VERSION > 6
+#if NODE_MAJOR_VERSION >= 8
1722
if (!Nan::To<Object>(value).ToLocalChecked()->InstanceOf(ctx, _DOMMatrix.Get(Isolate::GetCurrent())).ToChecked())
1723
return Nan::ThrowTypeError("Expected DOMMatrix");
1724
#endif
0 commit comments