You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code below is one of the addEasyButton leaflet examples in the help file.
The code runs fine with htmlwidgets v1.6.2, but doesn't run under v1.6.3 - the easy button does not appear. The v.1.6.3 documentation refers to a potentially breaking change - reproduced below:
Potentially breaking changes
Closed #466: htmlwidgets no longer recurses into list-like objects when searching for JavaScript strings wrapped in JS(), unless the object has the class "list" or "data.frame". This stops htmlwidgets from (possibly infinitely) recursively searching objects that are not actually recursive. Widget authors who relied on the previous behavior should ensure that their widget's JS() calls are wrapped in objects that have the class "list" or "data.frame". (#467)
The code below is one of the addEasyButton leaflet examples in the help file.
The code runs fine with htmlwidgets v1.6.2, but doesn't run under v1.6.3 - the easy button does not appear. The v.1.6.3 documentation refers to a potentially breaking change - reproduced below:
Potentially breaking changes
Closed #466: htmlwidgets no longer recurses into list-like objects when searching for JavaScript strings wrapped in JS(), unless the object has the class "list" or "data.frame". This stops htmlwidgets from (possibly infinitely) recursively searching objects that are not actually recursive. Widget authors who relied on the previous behavior should ensure that their widget's JS() calls are wrapped in objects that have the class "list" or "data.frame". (#467)
sessionInfo() output
The text was updated successfully, but these errors were encountered: