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

[0.8] behaviors override properties on elements #1444

Closed
nevir opened this issue Apr 23, 2015 · 4 comments
Closed

[0.8] behaviors override properties on elements #1444

nevir opened this issue Apr 23, 2015 · 4 comments
Assignees

Comments

@nevir
Copy link
Contributor

nevir commented Apr 23, 2015

Polymer({
  is: 'sad-face',
  behaviors: [{mood: 'sad'}],
  mood: 'happy',
});
console.log(document.createElement('sad-face').mood);
// logs "sad", expected "happy"
@nevir nevir changed the title [0.8] behaviors override methods on elements [0.8] behaviors override properties on elements Apr 23, 2015
@jklein24
Copy link
Contributor

+1. This seems really backwards to me.

@sorvell sorvell self-assigned this Apr 29, 2015
@sorvell
Copy link
Contributor

sorvell commented Apr 29, 2015

Agreed, we will be changing this.

@sorvell
Copy link
Contributor

sorvell commented Apr 30, 2015

Fixed via bcd2923

@sorvell sorvell closed this as completed Apr 30, 2015
@nevir
Copy link
Contributor Author

nevir commented Apr 30, 2015

🍰

MatrixFrog added a commit to MatrixFrog/polymer that referenced this issue May 4, 2015
MatrixFrog pushed a commit to MatrixFrog/polymer that referenced this issue May 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants