From ad28b64878ce7d79497fcdc36be6a9ce23275abc Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Fri, 29 May 2015 18:28:43 -0500 Subject: [PATCH] Removed Modal Wrapper --- ionic/components/modal/modal.js | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/ionic/components/modal/modal.js b/ionic/components/modal/modal.js index bcd6965faa..63d6cfe12a 100644 --- a/ionic/components/modal/modal.js +++ b/ionic/components/modal/modal.js @@ -11,29 +11,6 @@ import {raf, ready} from 'ionic/util/dom' import {Animation} from '../../animations/animation'; -@Component({ - selector: 'ion-modal-wrapper' -}) -@View({ - template: ` - ` -}) -class ModalWrapper { - constructor(elementRef: ElementRef) { - this.element = elementRef.domElement; - console.log('element', this.element) - } - show() { - this.element.domElement.classList.add('active') - } - hide() { - this.element.domElement.classList.remove('active') - } -} - export class Modal { //compiler: Compiler;