Skip to content

Commit 940fbfb

Browse files
Courtney Bracefieldericwilligers
Courtney Bracefield
authored andcommitted
modified extension-api so that the element gets passed into callback.
1 parent 0e02989 commit 940fbfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension-api.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
watchedValues[property] = style._getAnimated(property);
9999
});
100100
// TODO(alancutter): Avoid calling apply hooks if watched values haven't changed.
101-
var newValues = applyHook.callback(watchedValues);
101+
var newValues = applyHook.callback(watchedValues, effect._target);
102102
if (!newValues) {
103103
return;
104104
}

0 commit comments

Comments
 (0)