[Custom]: Rename "createdCallback" to "created"

Custom elements spec defines following lifycycle callbacks:

- createdCallback()
- attachedCallback()
- detachedCallback()
- attributeChangedCallback()

I'm wondering what was the reasoning behind the naming convention used here, it feels verbose and inconsistent with the rest of the Web Platform. Even Polymer authors, which I thought were also contributing to the spec, decided to drop the "callback" postfix.

The postfix doesn't add any additional information. If method name states what has happened (“created”, “attached”) rather than what should happen (“create”, “attach”) then it’s obvious that such method is a callback.

Received on Wednesday, 1 October 2014 18:09:58 UTC