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

fix Node.bind to pass the property name to reflectPropertyToAttribute #319

Merged
merged 1 commit into from Oct 15, 2013

Conversation

jmesserly
Copy link
Contributor

...also fixes method name. I think it's supposed to be called "reflectPropertyToAttribute" with an F :)

Apologies for the whitespace changes. My editor is set up to automatically strip trailing whitespace on save, to satisfy the various Google style guides. I can try to revert that if it's a problem.

This was originally reported as https://code.google.com/p/dart/issues/detail?id=14060.

…ty name to it (not attribute name), add test
chai.assert.equal(child.camelCase, 11);

chai.assert.equal('' + child.lowercase, child.getAttribute('lowercase'));
chai.assert.equal('' + child.camelCase, child.getAttribute('camelcase'));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the test was failing on this line, because camelcase attribute was left as "{{volume}}"

@sorvell
Copy link
Contributor

sorvell commented Oct 15, 2013

LGTM, thx!

sorvell pushed a commit that referenced this pull request Oct 15, 2013
fix Node.bind to pass the property name to reflectPropertyToAttribute
@sorvell sorvell merged commit d8bfaa5 into Polymer:master Oct 15, 2013
JamesXNelson pushed a commit to sdbg/sdbg that referenced this pull request Jan 28, 2014
This is the fix for issue 14060
Polymer.js fix is at: Polymer/polymer#319

R=sigmund@google.com

Review URL: https://codereview.chromium.org//27417002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@28688 260f80e4-7a28-3924-810f-c04153c831b5
svn2github pushed a commit to svn2github/dart-lang that referenced this pull request Jul 15, 2014
This is the fix for issue 14060
Polymer.js fix is at: Polymer/polymer#319

R=sigmund@google.com

Review URL: https://codereview.chromium.org//27417002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@28688 260f80e4-7a28-3924-810f-c04153c831b5
jmesserly pushed a commit to dart-archive/polymer-dart that referenced this pull request Dec 20, 2014
This is the fix for issue 14060
Polymer.js fix is at: Polymer/polymer#319

R=sigmund@google.com

Review URL: https://codereview.chromium.org//27417002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/polymer@28688 260f80e4-7a28-3924-810f-c04153c831b5
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

Successfully merging this pull request may close these issues.

None yet

2 participants