Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upnew Image() is no-undef #562
Comments
This comment has been minimized.
This comment has been minimized.
|
It is, in the "browser" environment. Use /* eslint-env browser */ at the On Mon, Jul 11, 2016, 12:29 AM Rubén Sospedra notifications@github.com
|
This comment has been minimized.
This comment has been minimized.
|
@sospedra we tend to limit the amount of globals exposed in the browser, because there are so many of them. Only |
sospedra commentedJul 10, 2016
When using HTMLImageElement as
new Image()standard triggers ano-undefwarning. Is this expected? I mean,Imageis global... always :/