Skip to content
This repository has been archived by the owner on Feb 2, 2019. It is now read-only.

Commit

Permalink
fix(examples): import ng2-material from its bundle not using relative…
Browse files Browse the repository at this point in the history
… paths
  • Loading branch information
justindujardin committed Dec 19, 2015
1 parent d58dd4e commit 9cc14e6
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 16 deletions.
4 changes: 4 additions & 0 deletions examples/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ import {DEMO_DIRECTIVES} from './all';
import Example from './example';
import {Http, Response, HTTP_PROVIDERS} from 'angular2/http';

//
// PLUNKR for ng2: http://plnkr.co/edit/UPJESEgyKFsm4hyW4fWR
//

/**
* Describe an example that can be dynamically loaded.
*/
Expand Down
2 changes: 1 addition & 1 deletion examples/components/button/basic_usage.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {View, Component} from 'angular2/core';
import {MATERIAL_DIRECTIVES} from '../../base';
import {MATERIAL_DIRECTIVES} from 'ng2-material/all';


@Component({selector: 'button-basic-usage'})
Expand Down
2 changes: 1 addition & 1 deletion examples/components/card/action_buttons.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {View, Component} from 'angular2/core';
import {MATERIAL_DIRECTIVES} from '../../base';
import {MATERIAL_DIRECTIVES} from 'ng2-material/all';

@Component({selector: 'card-action-buttons'})
@View({
Expand Down
2 changes: 1 addition & 1 deletion examples/components/card/basic_usage.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {View, Component} from 'angular2/core';
import {MATERIAL_DIRECTIVES} from '../../base';
import {MATERIAL_DIRECTIVES} from 'ng2-material/all';

@Component({selector: 'card-basic-usage'})
@View({
Expand Down
2 changes: 1 addition & 1 deletion examples/components/card/inline_actions.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {View, Component} from 'angular2/core';
import {MATERIAL_DIRECTIVES} from '../../base';
import {MATERIAL_DIRECTIVES} from 'ng2-material/all';

@Component({selector: 'card-inline-actions'})
@View({
Expand Down
2 changes: 1 addition & 1 deletion examples/components/progress_linear/basic_usage.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {View, Component} from 'angular2/core';
import {MATERIAL_DIRECTIVES} from '../../base';
import {MATERIAL_DIRECTIVES} from 'ng2-material/all';

@Component({selector: 'progress-linear-basic-usage'})
@View({templateUrl: 'examples/components/progress_linear/basic_usage.html', directives: [MATERIAL_DIRECTIVES]})
Expand Down
2 changes: 1 addition & 1 deletion examples/components/radio/basic_usage.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {View, Component} from 'angular2/core';
import {MATERIAL_DIRECTIVES} from '../../base';
import {MATERIAL_DIRECTIVES} from 'ng2-material/all';

// TODO (jdd):

Expand Down
2 changes: 1 addition & 1 deletion examples/components/switch/basic_usage.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {View, Component} from 'angular2/core';
import {MATERIAL_DIRECTIVES} from '../../base';
import {MATERIAL_DIRECTIVES} from 'ng2-material/all';

@Component({selector: 'switch-basic-usage'})
@View({templateUrl: 'examples/components/switch/basic_usage.html', directives: [MATERIAL_DIRECTIVES]})
Expand Down
5 changes: 2 additions & 3 deletions examples/components/tabs/dynamic_height.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {View, Component} from 'angular2/core';
import {MATERIAL_DIRECTIVES} from '../../base';
import {ViewEncapsulation} from "angular2/core";
import {View, Component, ViewEncapsulation} from 'angular2/core';
import {MATERIAL_DIRECTIVES} from 'ng2-material/all';

@Component({selector: 'tabs-dynamic-height'})
@View({
Expand Down
6 changes: 2 additions & 4 deletions examples/components/tabs/dynamic_tabs.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import {View, Component} from 'angular2/core';
import {MATERIAL_DIRECTIVES} from '../../base';
import {Input} from "angular2/core";
import {ViewEncapsulation} from "angular2/core";
import {View, Component, Input, ViewEncapsulation} from 'angular2/core';
import {MATERIAL_DIRECTIVES} from 'ng2-material/all';

export interface ITabData {
title:string;
Expand Down
2 changes: 1 addition & 1 deletion examples/components/toolbar/basic_usage.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {View, Component} from 'angular2/core';
import {MATERIAL_DIRECTIVES} from '../../base';
import {MATERIAL_DIRECTIVES} from 'ng2-material/all';

@Component({selector: 'toolbar-basic-usage'})
@View({
Expand Down
2 changes: 1 addition & 1 deletion examples/components/toolbar/scroll_shrink.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {View, Component} from 'angular2/core';
import {MATERIAL_DIRECTIVES} from '../../base';
import {MATERIAL_DIRECTIVES} from 'ng2-material/all';

interface ITodo {
face:string;
Expand Down

0 comments on commit 9cc14e6

Please sign in to comment.