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

Commit faae6ee

Browse files
committed
broadly replaced index.html
1 parent d311025 commit faae6ee

File tree

10 files changed

+15
-15
lines changed

10 files changed

+15
-15
lines changed

public/docs/ts/latest/cookbook/ajs-quick-reference.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ table(width="100%")
751751
td
752752
:marked
753753
### Link tag
754-
+makeExample('cb-ajs-quick-reference/ts/index.html', 'style')(format=".")
754+
+makeExample('cb-ajs-quick-reference/ts/src/index.html', 'style')(format=".")
755755
:marked
756756
In Angular, you can continue to use the link tag to define the styles for your application in the `index.html` file.
757757
But now you can also encapsulate styles for your components.

public/docs/ts/latest/cookbook/aot-compiler.jade

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ code-example(language="none" class="code-shell").
142142
JIT-compiled applications that use the SystemJS loader and _component-relative_ URLs *must set the* `@Component.moduleId` *property to* `module.id`.
143143
The `module` object is undefined when an AOT-compiled app runs.
144144
The app fails with a null reference error unless you assign a global `module` value in the `index.html` like this:
145-
+makeExample('cb-aot-compiler/ts/index.html','moduleId')(format='.')
145+
+makeExample('cb-aot-compiler/ts/src/index.html','moduleId')(format='.')
146146
.l-sub-section
147147
:marked
148148
Setting a global `module` is a temporary expedient.
@@ -310,7 +310,7 @@ a#load
310310
Remove the scripts that concern SystemJS.
311311
Instead, load the bundle file using a single `script` tag **_after_** the `</body>` tag:
312312

313-
+makeExample('cb-aot-compiler/ts/index.html','bundle','index.html (load bundle)')(format='.')
313+
+makeExample('cb-aot-compiler/ts/src/index.html','bundle','index.html (load bundle)')(format='.')
314314

315315
a#serve
316316
.l-main-section
@@ -334,7 +334,7 @@ a#source-code
334334
`cb-aot-compiler/ts/src/app/app.component.html,
335335
cb-aot-compiler/ts/src/app/app.component.ts,
336336
cb-aot-compiler/ts/src/main.ts,
337-
cb-aot-compiler/ts/index.html,
337+
cb-aot-compiler/ts/src/index.html,
338338
cb-aot-compiler/ts/tsconfig-aot.json,
339339
cb-aot-compiler/ts/rollup-config.js`,
340340
null,
@@ -372,7 +372,7 @@ a#run-jit
372372
* Make a copy of `index.html` and call it `index-jit.html`.
373373
* Delete the script at the bottom of `index-jit.html` that loads `bundle.js`
374374
* Restore the SystemJS scripts like this:
375-
+makeExample('cb-aot-compiler/ts/index-jit.html','jit','index-jit.html (SystemJS scripts)')(format='.')
375+
+makeExample('cb-aot-compiler/ts/src/index-jit.html','jit','src/index-jit.html (SystemJS scripts)')(format='.')
376376

377377
:marked
378378
Notice the slight change to the `system.import` which now specifies `src/app/main-jit`.
@@ -421,7 +421,7 @@ a#toh
421421

422422
+makeTabs(
423423
`toh-6/ts/aot/index.html,
424-
toh-6/ts/index.html`,
424+
toh-6/ts/src/index.html`,
425425
null,
426426
`aot/index.html (AOT),
427427
index.html (JIT)`

public/docs/ts/latest/cookbook/i18n.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ a#jit
446446
4. Bootstrapping the application with those providers.
447447

448448
Open `index.html` and revise the launch script as follows:
449-
+makeExample('cb-i18n/ts/index.html', 'i18n', 'index.html (launch script)')(format='.')
449+
+makeExample('cb-i18n/ts/src/index.html', 'i18n', 'index.html (launch script)')(format='.')
450450
:marked
451451
In this sample, the user's language is hardcoded as a global `document.locale` variable
452452
in the `index.html`.

public/docs/ts/latest/guide/appmodule.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ l-main-section
115115

116116
The `AppComponent` selector &mdash; here and in most documentation samples &mdash; is `my-app`
117117
so Angular looks for a `<my-app>` tag in the `index.html` like this one ...
118-
+makeExample('setup/ts/index.html','my-app')(format='.')
118+
+makeExample('setup/ts/src/index.html','my-app')(format='.')
119119
:marked
120120
... and displays the `AppComponent` there.
121121

@@ -135,4 +135,4 @@ l-main-section
135135
live code in the _QuickStart_ plunker.
136136

137137
Remove the following `<script>` tag from the `index.html` and see _your_ work in action.
138-
+makeExample('quickstart/ts/index.html','autobootstrap','Remove this script tag from "index.html"')(format='.')
138+
+makeExample('quickstart/ts/src/index.html','autobootstrap','Remove this script tag from "index.html"')(format='.')

public/docs/ts/latest/guide/attribute-directives.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ figure.image-display
338338
attribute-directives/ts/src/app/highlight.directive.ts,
339339
attribute-directives/ts/src/app/app.module.ts,
340340
attribute-directives/ts/src/main.ts,
341-
attribute-directives/ts/index.html
341+
attribute-directives/ts/src/index.html
342342
`,
343343
'',
344344
`app/app.component.ts,

public/docs/ts/latest/guide/browser-support.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ table
6666

6767
You compensate by loading polyfill scripts ("polyfills") on the host web page (`index.html`)
6868
that implement missing features in JavaScript.
69-
+makeExample('quickstart/ts/index.html', 'polyfills')(format='.')
69+
+makeExample('quickstart/ts/src/index.html', 'polyfills')(format='.')
7070
:marked
7171
A particular browser may require at least one polyfill to run _any_ Angular application.
7272
You may need additional polyfills for specific features.

public/docs/ts/latest/guide/deployment.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ a#node-modules
133133
The following trivial router sample app shows these changes.
134134

135135
+makeTabs(
136-
`deployment/ts/index.html,
136+
`deployment/ts/src/index.html,
137137
deployment/ts/systemjs.config.server.js,
138138
deployment/ts/src/main.ts,
139139
deployment/ts/src/app/app.module.ts,

public/docs/ts/latest/guide/forms.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ figure.image-display
682682
forms/ts/src/app/app.module.ts,
683683
forms/ts/src/app/app.component.ts,
684684
forms/ts/src/main.ts,
685-
forms/ts/index.html,
685+
forms/ts/src/index.html,
686686
forms/ts/forms.css`,
687687
'final, final,,,,,',
688688
`hero-form.component.ts,

public/docs/ts/latest/guide/reactive-forms.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ a#essentials
275275
You used bootstrap CSS classes in the template HTML of both the `AppComponent` and the `HeroDetailComponent`.
276276
Add the `bootstrap` _CSS stylesheet_ to the head of `index.html`:
277277

278-
+makeExample('reactive-forms/ts/index.html', 'bootstrap','index.html')(format=".")
278+
+makeExample('reactive-forms/ts/src/index.html', 'bootstrap','index.html')(format=".")
279279

280280
:marked
281281
Now that everything is wired up, the browser should display something like this:

public/docs/ts/latest/guide/router.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ a#redirect
676676
router/ts/src/app/hero-list.component.ts,
677677
router/ts/src/app/crisis-list.component.ts,
678678
router/ts/src/app/not-found.component.ts,
679-
router/ts/index.html`,
679+
router/ts/src/index.html`,
680680
',,,,',
681681
`app.component.ts,
682682
app.module.ts,

0 commit comments

Comments
 (0)