Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

fix(compiler): Support camelCase property bindings #1462

Closed
wants to merge 2 commits into from

Conversation

jbdeboer
Copy link
Contributor

No description provided.

@jbdeboer jbdeboer force-pushed the sep15-camelcase branch 5 times, most recently from 93d6698 to f725eb5 Compare September 16, 2014 03:30
@@ -81,6 +81,12 @@ relaxFnArgs(Function fn) {

capitalize(String s) => s.substring(0, 1).toUpperCase() + s.substring(1);

String camelCase(String s) {
var part = s.split('-').map((s) => s.toLowerCase());
if (part.length <= 1)
Copy link
Contributor

Choose a reason for hiding this comment

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

minor: should be on one line or use {}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

3 participants