Skip to content

Commit

Permalink
fix(demo): remove input route from demo app (#2922)
Browse files Browse the repository at this point in the history
* remove input route from demo app

* remove container from name, focus on input
  • Loading branch information
andrewseguin authored Feb 16, 2017
1 parent 62fc9ea commit 6bac315
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/demo-app/demo-app-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import {TabsDemo, SunnyTabContent, RainyTabContent, FoggyTabContent} from './tab
import {ProjectionDemo, ProjectionTestComponent} from './projection/projection-demo';
import {PlatformDemo} from './platform/platform-demo';
import {AutocompleteDemo} from './autocomplete/autocomplete-demo';
import {InputContainerDemo} from './input/input-container-demo';
import {InputDemo} from './input/input-demo';
import {StyleDemo} from './style/style-demo';

@NgModule({
Expand All @@ -62,7 +62,7 @@ import {StyleDemo} from './style/style-demo';
GridListDemo,
Home,
IconDemo,
InputContainerDemo,
InputDemo,
JazzDialog,
ContentElementDialog,
IFrameDialog,
Expand Down
1 change: 0 additions & 1 deletion src/demo-app/demo-app/demo-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export class DemoApp {
{name: 'Grid List', route: 'grid-list'},
{name: 'Icon', route: 'icon'},
{name: 'Input', route: 'input'},
{name: 'Input Container', route: 'input-container'},
{name: 'List', route: 'list'},
{name: 'Menu', route: 'menu'},
{name: 'Live Announcer', route: 'live-announcer'},
Expand Down
4 changes: 2 additions & 2 deletions src/demo-app/demo-app/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {ProjectionDemo} from '../projection/projection-demo';
import {TABS_DEMO_ROUTES} from '../tabs/routes';
import {PlatformDemo} from '../platform/platform-demo';
import {AutocompleteDemo} from '../autocomplete/autocomplete-demo';
import {InputContainerDemo} from '../input/input-container-demo';
import {InputDemo} from '../input/input-demo';
import {StyleDemo} from '../style/style-demo';

export const DEMO_APP_ROUTES: Routes = [
Expand All @@ -51,7 +51,7 @@ export const DEMO_APP_ROUTES: Routes = [
{path: 'projection', component: ProjectionDemo},
{path: 'overlay', component: OverlayDemo},
{path: 'checkbox', component: CheckboxDemo},
{path: 'input-container', component: InputContainerDemo},
{path: 'input', component: InputDemo},
{path: 'toolbar', component: ToolbarDemo},
{path: 'icon', component: IconDemo},
{path: 'list', component: ListDemo},
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ let max = 5;

@Component({
moduleId: module.id,
selector: 'input-container-demo',
templateUrl: 'input-container-demo.html',
styleUrls: ['input-container-demo.css'],
selector: 'input-demo',
templateUrl: 'input-demo.html',
styleUrls: ['input-demo.css'],
})
export class InputContainerDemo {
export class InputDemo {
floatingLabel: string = 'auto';
dividerColor: boolean;
requiredField: boolean;
Expand Down

0 comments on commit 6bac315

Please sign in to comment.