From: Mark Wooding Date: Sat, 30 Jun 2018 21:27:38 +0000 (+0100) Subject: dep.js: Set up `BAD' correctly. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/dep-ui/commitdiff_plain/c0644ca04a2ef5920acb9627fe3dc1b627a7cf2b?hp=c0644ca04a2ef5920acb9627fe3dc1b627a7cf2b dep.js: Set up `BAD' correctly. Two bugs, which sort of cancelled each other out. * I failed to invoke `new' when I made `BAD', which meant that `BAD' actually ended up set to `undefined'. * I didn't set `DEP.val' properly if `value' wasn't passed explicitly, so, err, it ended up being `undefined', which is then erroneously considered to be equivalent to `BAD'. Fix this silliness. ---