User bio
404 bio not found
McAlester, OK
Member since Mar 20, 2024
Posts:
Replies:
exactly, but that was not clear until I hit this. I assumed "return" meant stop processing the rest of the line. Sort of like this in Javascript, I just assumed returned meant to return, not continue...
// a = b && c = d
function foo(a, b, c, d) {
let res = a === b ? 1 : 0; // a = b
if (res === 0) { // left side of &&
return res // return left side
}
res = c // res && c
res = res === d ? 1 : 0 // res = d
return res
}
I should have read this comment the first time my import failed! Updated my import file to the correct new version (the one with the `Export` and `Document` elements) and it worked like a charm. And just for reference, you don't have to put in your `zv` string or a `ts` at least with the version I am using, haha.
Certifications & Credly badges:
Anthony has no Certifications & Credly badges yet.
Global Masters badges:
Anthony has no Global Masters badges yet.
Followers:
Anthony has no followers yet.
Following:
Anthony has not followed anybody yet.
@Randy Stewart
did you ever get SSE working with CSP? Trying to implement Data-Star with CSP, and cannot for the life of me seem to get a GET stream to stay open and actually stream, lol.