Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's awkward to make a property with an object default value #215

Closed
sorvell opened this issue Jul 23, 2013 · 0 comments
Closed

It's awkward to make a property with an object default value #215

sorvell opened this issue Jul 23, 2013 · 0 comments

Comments

@sorvell
Copy link
Contributor

sorvell commented Jul 23, 2013

To do this, one needs a non-null object in the element prototype:

foo: {},

This looks like a mistake since it makes a shared object.

sorvell added a commit that referenced this issue Jul 24, 2013
@sorvell sorvell closed this as completed Jul 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant