Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
Consume pre-built examples from material2 repo (#160)
Browse files Browse the repository at this point in the history
* Consume pre-built examples from material2 repo

This PR:
* Deletes src/app/examples
* Changes imports to use `@angular/material-examples/`
* Updates the `fetch-assets.sh` script to `npm install` the
material-examples package from material2-docs-content.
  • Loading branch information
jelbourn authored Jun 1, 2017
1 parent d2c1bc6 commit 727813b
Show file tree
Hide file tree
Showing 307 changed files with 36 additions and 3,510 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/tmp
/src/assets/documents
/src/assets/examples
/src/assets/plunker/examples

# dependencies
/node_modules
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@angular/material": "^2.0.0-beta.6",
"@angular/platform-browser": "^4.0.0",
"@angular/platform-browser-dynamic": "^4.0.0",
"@angular/router": "~4.0.0",
"@angular/router": "^4.0.0",
"core-js": "^2.4.1",
"rxjs": "^5.1.0",
"zone.js": "^0.8.4"
Expand Down
3 changes: 2 additions & 1 deletion src/app/app-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ import {Location, LocationStrategy, PathLocationStrategy} from '@angular/common'
import {FormsModule} from '@angular/forms';
import {HttpModule} from '@angular/http';
import {MaterialModule, MdNativeDateModule} from '@angular/material';
import {ExampleModule} from '@angular/material-examples';

import {MaterialDocsApp} from './material-docs-app';
import {Homepage} from './pages/homepage/homepage';
import {routing} from './routes';
import {ComponentList} from './pages/component-list/component-list';
import {ComponentViewer} from './pages/component-viewer/component-viewer';
import {GuideList} from './pages/guide-list';
import {GuideViewer} from './pages/guide-viewer';
import {ExampleModule} from './examples/example-module';
import {SharedModule} from './shared/shared-module';
import {ComponentCategoryList} from './pages/component-category-list/component-category-list';
import {ComponentSidenav} from './pages/component-sidenav/component-sidenav';
Expand Down
Empty file.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions src/app/examples/button-overview/button-overview-example.ts

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

9 changes: 0 additions & 9 deletions src/app/examples/button-types/button-types-example.css

This file was deleted.

17 changes: 0 additions & 17 deletions src/app/examples/button-types/button-types-example.html

This file was deleted.

9 changes: 0 additions & 9 deletions src/app/examples/button-types/button-types-example.ts

This file was deleted.

8 changes: 0 additions & 8 deletions src/app/examples/card-fancy/card-fancy-example.css

This file was deleted.

19 changes: 0 additions & 19 deletions src/app/examples/card-fancy/card-fancy-example.html

This file was deleted.

9 changes: 0 additions & 9 deletions src/app/examples/card-fancy/card-fancy-example.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/app/examples/card-overview/card-overview-example.css

This file was deleted.

1 change: 0 additions & 1 deletion src/app/examples/card-overview/card-overview-example.html

This file was deleted.

8 changes: 0 additions & 8 deletions src/app/examples/card-overview/card-overview-example.ts

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion src/app/examples/chips-overview/chips-overview-example.css

This file was deleted.

6 changes: 0 additions & 6 deletions src/app/examples/chips-overview/chips-overview-example.html

This file was deleted.

8 changes: 0 additions & 8 deletions src/app/examples/chips-overview/chips-overview-example.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/app/examples/chips-stacked/chips-stacked-example.css

This file was deleted.

7 changes: 0 additions & 7 deletions src/app/examples/chips-stacked/chips-stacked-example.html

This file was deleted.

Loading

0 comments on commit 727813b

Please sign in to comment.