rdflib.js
rdflib.js copied to clipboard
Read the Node's value instead of the Node itself
I'm not really quite sure what this code is supposed to do, but the way it's set up right now, it doesn't look like it would ever work. status appears to be an array of Nodes, so it will never be equal to 200 or 400 - we'd have to read the value for that.
Of course, if it never worked, the question is whether it should work. It appears to mark a Document as not editable if its status code was 200 or 404 - the former is the case for a Document that I think should be editable?
Request from Tim: add tests.