-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
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
fixes #51 #53
base: master
Are you sure you want to change the base?
fixes #51 #53
Conversation
How does that fix it? As far as I can see in the commit (92720d9), it only eliminates the extra line
by using A possible fix should probably look more what @fatihtelis suggested in the comment of the original issue: #51 (comment) |
@striezel thanks for asking, the way it fixes it is by not running that code if type is set. makes sense to you ? |
Yes, I see. 👍 |
@striezel if no type is set it means that it is not something like |
@mikolalysenko could you please have look a this two ? thanks |
Since JavaScript is not a statically typed language, you can never be quite sure what stuff people are passing into a function. So I thought some kind of check might possibly be better there. But if the maintainers are fine with it, so am I.
According to #49 (comment) mikolalysenko has notifications turned off. So there is no guarantuee this issue might get looked at anytime soon. :( |
@striezel the idea behind this is that you trust the caller to either provide a URL, or provide a data data:image... and specify the type. |
No description provided.