From 9b12ce3841b58ea41ba331ae273f495b0643bc38 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Tue, 15 Dec 2015 09:56:20 -0600 Subject: [PATCH] fix(attr): use pascalCase for config component --- ionic/components/tabs/tabs.scss | 2 +- ionic/config/decorators/config-component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ionic/components/tabs/tabs.scss b/ionic/components/tabs/tabs.scss index 0d1e342923..2da72784a4 100644 --- a/ionic/components/tabs/tabs.scss +++ b/ionic/components/tabs/tabs.scss @@ -43,7 +43,7 @@ ion-tabbar-section { order: $flex-order-tabbar-bottom; } -[tabbar-placement=top] ion-tabbar-section { +[tabbarPlacement=top] ion-tabbar-section { order: $flex-order-tabbar-top; } diff --git a/ionic/config/decorators/config-component.ts b/ionic/config/decorators/config-component.ts index f24a13f656..ae0e9c6af1 100644 --- a/ionic/config/decorators/config-component.ts +++ b/ionic/config/decorators/config-component.ts @@ -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;