mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-08 05:35:07 -05:00
Add support for scaled images and brushing
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -249,7 +249,7 @@ function mapValues(obj, f) {
|
||||
const newObj = {};
|
||||
for (let key in obj) {
|
||||
if (obj.hasOwnProperty(key))
|
||||
newObj[key] = f(obj[key]);
|
||||
newObj[key] = f(obj[key], key, obj);
|
||||
}
|
||||
return newObj;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user