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 31dd945 commit 31aedb6Copy full SHA for 31aedb6
NEWS.md
@@ -1,6 +1,7 @@
1
htmlwidgets 1.5.3.9000
2
-------------------------------------------------------
3
4
+* Fixed #408: An error type-check did not work correctly because it was missing parentheses. (#409)
5
6
htmlwidgets 1.5.3
7
inst/www/htmlwidgets.js
@@ -251,7 +251,7 @@
251
try {
252
result = eval("(" + code + ")");
253
} catch(error) {
254
- if (!error instanceof SyntaxError) {
+ if (!(error instanceof SyntaxError)) {
255
throw error;
256
}
257
0 commit comments