[w3c/ServiceWorker] Editorial: Simplify `ready` (#1136)

The previous structure for the `ready` algorithm involved a recursive
path through an "else" branch. This tended to obscure the fact that the
corresponding branch was *not* recursive and that the following steps
were indeed reachable.

Re-factor the algorithm to include fewer total branches and to contain
the recursion more tightly.

---

I recognize that this is pretty subjective, so I'll be satisfied with the
opinion of the editors, whatever that is.
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/ServiceWorker/pull/1136

-- Commit Summary --

  * Editorial: Simplify `ready`

-- File Changes --

    M docs/index.bs (6)
    M docs/index.html (10)

-- Patch Links --

https://github.com/w3c/ServiceWorker/pull/1136.patch
https://github.com/w3c/ServiceWorker/pull/1136.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/w3c/ServiceWorker/pull/1136

Received on Friday, 5 May 2017 16:24:30 UTC