fix(attr): use pascalCase for config component

This commit is contained in:
Adam Bradley
2015-12-15 09:56:20 -06:00
parent 32f0a0396c
commit 9b12ce3841
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ function appendConfig(cls, config) {
// set the component "hostProperties", so the instance's
// input value will be used to set the element's attribute
config.host['[attr.' + pascalCaseToDashCase(prop) + ']'] = prop;
config.host['[attr.' + prop + ']'] = prop;
}
cls.delegates = config.delegates;