Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit b1b73ff

Browse files
committed
docs(cookbook/graphql): More fixes from @kapunahelewong review
1 parent ea009c2 commit b1b73ff

File tree

3 files changed

+66
-77
lines changed

3 files changed

+66
-77
lines changed

public/docs/_examples/heroes-graphql/ts/src/app/app.module.ts

-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ import { AppRoutingModule } from './app-routing.module';
1212
// #enddocregion v1
1313

1414
// #docregion import-apollo
15-
// ...
1615
import { ApolloModule } from 'apollo-angular';
1716
import { getClient } from './client';
18-
// ...
1917
// #enddocregion import-apollo
2018

2119
// #docregion v1
@@ -28,7 +26,6 @@ import { HeroSearchComponent } from './hero-search.component';
2826
// #docregion v1, v2
2927

3028
// #docregion apollo-ngmodule
31-
// ...
3229
@NgModule({
3330
imports: [
3431
BrowserModule,
@@ -41,7 +38,6 @@ import { HeroSearchComponent } from './hero-search.component';
4138
],
4239
// #docregion search
4340
declarations: [
44-
// ...
4541
// #enddocregion apollo-ngmodule
4642
AppComponent,
4743
DashboardComponent,

public/docs/_examples/heroes-graphql/ts/src/systemjs.config.extras.js

-9
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ System.config({
44

55
map: {
66
// #docregion systemjs-apollo-client-map
7-
// ..
87
'apollo-client': 'npm:apollo-client/apollo.umd.js',
98
'apollo-client-rxjs': 'npm:apollo-client-rxjs/build/bundles/apollo-rxjs.umd.js',
109
'apollo-angular': 'npm:apollo-angular/build/bundles/apollo.umd.js',
@@ -14,11 +13,9 @@ System.config({
1413
'graphql-tag': 'npm:graphql-tag',
1514
'symbol-observable': 'npm:symbol-observable',
1615
'redux': 'npm:redux/dist/redux.min.js',
17-
// ..
1816
// #enddocregion systemjs-apollo-client-map
1917

2018
// #docregion systemjs-graphql-server-map
21-
// ..
2219
'graphql': 'npm:graphql',
2320
'graphql-tools': 'npm:graphql-tools',
2421

@@ -28,12 +25,10 @@ System.config({
2825
'iterall': 'npm:iterall',
2926

3027
'lodash': 'npm:lodash'
31-
// ..
3228
// #enddocregion systemjs-graphql-server-map
3329
},
3430
packages: {
3531
// #docregion systemjs-apollo-client-packages
36-
// ..
3732
'whatwg-fetch': { main: './fetch.js', defaultExtension: 'js' },
3833
'redux': { format: 'cjs', defaultExtension: 'js' },
3934
'graphql-tag': { main: './index.js', defaultExtension: 'js' },
@@ -43,11 +38,9 @@ System.config({
4338
defaultExtension: 'js'
4439
},
4540
'symbol-observable': { main: './index.js', defaultExtension: 'js' },
46-
// ..
4741
// #enddocregion systemjs-apollo-client-packages
4842

4943
// #docregion systemjs-graphql-server-packages
50-
// ..
5144
'graphql': {
5245
main: './index.js',
5346
defaultExtension: 'js',
@@ -69,8 +62,6 @@ System.config({
6962
'uuid': { main: './lib/rng-browser.js', defaultExtension: 'js' },
7063
'iterall': { main: './index.js', defaultExtension: 'js' },
7164
'lodash': { main: './index.js', defaultExtension: 'js' }
72-
73-
// ..
7465
// #enddocregion systemjs-graphql-server-packages
7566
}
7667
});

0 commit comments

Comments
 (0)