[webcomponents] Fix typo in "2.1.1" for attributeChangedCallback (#448)

The example given at "2.1.1 Creating a custom tag" shows how to use

attributeChangedCallback(name, newValue)

but "4.2 DOM+: Mutation algorithms" last paragraph states that
this function has 3 arguments (name, oldAttrValue, newAttrValue)
so, newValue given in the example doesn't reflect the meaning of
oldAttrValue
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/webcomponents/pull/448

-- Commit Summary --

  * Fix typo in "2.1.1" for attributeChangedCallback

-- File Changes --

    M spec/custom/index.html (2)

-- Patch Links --

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

Received on Friday, 18 March 2016 21:19:12 UTC