We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I'd like to add flags to the Rsvg constructor:
new Rsvg({keepImageData: true, unlimited: false});
But if I try to refer to ARGVAR[0] in https://github.com/f3lang/node-rsvg-prebuilt/blob/master/src/Rsvg.cc#L93, it's always empty:
ARGVAR[0]
Nan::MaybeLocal<v8::Object> flagsObject = Nan::To<v8::Object>(ARGVAR[0]); if (flagsObject.IsEmpty()) { printf("No flags given\n"); } else { printf("Flags given\n"); }
This always returns No flags given. Can you help me out here? I'm not very familiar with Nan.
No flags given
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello, I'd like to add flags to the Rsvg constructor:
But if I try to refer to
ARGVAR[0]
in https://github.com/f3lang/node-rsvg-prebuilt/blob/master/src/Rsvg.cc#L93, it's always empty:This always returns
No flags given
. Can you help me out here? I'm not very familiar with Nan.The text was updated successfully, but these errors were encountered: