From f62feb3f5ae062fa13da291252eb0dbd8e8c5afa Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Thu, 16 Jul 2015 17:32:58 -0500 Subject: [PATCH] Revert "IonInput extends Ion" This reverts commit d9f46820f6563cf380b0a4cccf060dce6ba10ebb. --- ionic/components/form/form.ts | 6 +----- ionic/components/form/input.ts | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/ionic/components/form/form.ts b/ionic/components/form/form.ts index 1cb500806b..af4e26c612 100644 --- a/ionic/components/form/form.ts +++ b/ionic/components/form/form.ts @@ -1,4 +1,3 @@ -import {Ion} from '../ion'; import {IonicConfig} from '../../config/config'; import * as dom from '../../util/dom'; @@ -7,15 +6,12 @@ let activeInput = null; let lastInput = null; -export class IonInput extends Ion { +export class IonInput { constructor( elementRef: ElementRef, - ionicConfig: IonicConfig, app: IonicApp, scrollView: Content ) { - super(elementRef, ionicConfig); - this.elementRef = elementRef; this.app = app; this.scrollView = scrollView; diff --git a/ionic/components/form/input.ts b/ionic/components/form/input.ts index 9768071991..3ce0ce3962 100644 --- a/ionic/components/form/input.ts +++ b/ionic/components/form/input.ts @@ -71,7 +71,7 @@ export class TextInput extends IonInput { app: IonicApp, config: IonicConfig ) { - super(elementRef, config, app, scrollView); + super(elementRef, app, scrollView); if (container) { container.registerInput(this);