There was an error while loading. Please reload this page.
1 parent c593abe commit 86b59d4Copy full SHA for 86b59d4
1 file changed
src/core/rebind.js
@@ -11,6 +11,6 @@ d3.rebind = function(target, source) {
11
function d3_rebind(target, source, method) {
12
return function() {
13
var value = method.apply(source, arguments);
14
- return arguments.length || value === source ? target : value;
+ return value === source ? target : value;
15
};
16
}
0 commit comments