Last active
June 28, 2016 15:32
-
-
Save steveharoz/39695c18668d258a0156d012b86da2e7 to your computer and use it in GitHub Desktop.
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