Last active
June 28, 2016 15:32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<script src="https://d3js.org/d3.v4.0.0-rc.2.min.js"></script> | |
<script> | |
function callback1(arg1) { | |
console.log("COMPLETED. arg1:" + arg1); | |
console.log(arg1) | |
} | |
function callback2(arg1, arg2) { | |
console.log("COMPLETED. arg1:" + arg1); | |
console.log(arg1) | |
} | |
d3.request("invalid:///url") | |
.post(callback1); // callback parameter is null (maybe because signature is bad?) | |
d3.request("invalid:///url") | |
.post(callback2); // callback parameter shows error | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment