[whatwg/streams] Add "controller" local to TransformStream constructor (#840)

The TransformStream constructor read the value of the controller back from the
this object after storing it there. Store it in a local variable instead to
avoid the redundant lookup.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/streams/pull/840

-- Commit Summary --

  * Add "controller" local to TransformStream constructor

-- File Changes --

    M reference-implementation/lib/transform-stream.js (5)

-- Patch Links --

https://github.com/whatwg/streams/pull/840.patch
https://github.com/whatwg/streams/pull/840.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/streams/pull/840

Received on Thursday, 12 October 2017 06:52:04 UTC