[whatwg/dom] Editorial: flip non-null/otherwise conditions (#234)

Ruby styleguides *generally* disallow usage of `else` clauses in `unless` expressions because of readability.
I find it difficult to read because of double negation (non-null => otherwise => null) and I think that this PR will improve readability and consistency in conditions.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/dom/pull/234

-- Commit Summary --

  * Editorial: flip non-null/otherwise conditions

-- File Changes --

    M dom.bs (12)

-- Patch Links --

https://github.com/whatwg/dom/pull/234.patch
https://github.com/whatwg/dom/pull/234.diff

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/234

Received on Wednesday, 20 April 2016 03:30:11 UTC