refactor(demos): make each actionSheet section a module

This commit is contained in:
Drew Rygh
2015-11-04 16:23:05 -06:00
parent 3003c73890
commit 19ce43a182
4 changed files with 6 additions and 6 deletions

View File

@ -2,8 +2,7 @@ import {Directive, ElementRef, Renderer} from 'angular2/angular2';
import {Platform, Navbar} from 'ionic/ionic';
import {ActionSheetPage} from './actionSheet/actionSheet';
import * as actionSheets from './action-sheets/action-sheets';
import * as buttons from './buttons/buttons';
import * as cards from './cards/cards';
@ -95,7 +94,7 @@ export function hasScrollbar() {
export function getPageFor(hash) {
return {
'action-sheets': ActionSheetPage,
'action-sheets': actionSheets.BasicPage,
'buttons': buttons.BasicPage,
'block-buttons': buttons.BlockPage,