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

Commit a2cb803

Browse files
committed
docs: update to beta-12
1 parent 5b27178 commit a2cb803

File tree

12 files changed

+29
-50
lines changed

12 files changed

+29
-50
lines changed

public/docs/_examples/cb-component-communication/ts/app/app.component.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
<h1 id="top">Component Communication Cookbook</h1>
22

3-
<div style="background: yellow; font-weight:bold; margin: 1em 0; padding: 1em">
4-
Known problem with beta.11 prevents this sample from working properly.
5-
We'll fix it for beta.12.
6-
</div>
7-
83
<a href="#parent-to-child">Pass data from parent to child with input binding ("Heros")</a><br/>
94
<a href="#parent-to-child-setter">Intercept input property changes with a setter ("Master")</a><br/>
105
<a href="#parent-to-child-on-changes">Intercept input property changes with <i>ngOnChanges</i> ("Source code version")</a><br/>

public/docs/_examples/homepage-hello-world/ts/index.1.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
<script src="https://code.angularjs.org/tools/system.js"></script>
1616
<script src="https://code.angularjs.org/tools/typescript.js"></script>
17-
<script src="https://code.angularjs.org/2.0.0-beta.11/angular2-polyfills.js"></script>
18-
<script src="https://code.angularjs.org/2.0.0-beta.11/Rx.js"></script>
19-
<script src="https://code.angularjs.org/2.0.0-beta.11/angular2.dev.js"></script>
17+
<script src="https://code.angularjs.org/2.0.0-beta.12/angular2-polyfills.js"></script>
18+
<script src="https://code.angularjs.org/2.0.0-beta.12/Rx.js"></script>
19+
<script src="https://code.angularjs.org/2.0.0-beta.12/angular2.dev.js"></script>
2020

2121
<!-- 2. Configure SystemJS -->
2222
<script>

public/docs/_examples/homepage-tabs/ts/index.1.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
<script src="https://code.angularjs.org/tools/system.js"></script>
1717
<script src="https://code.angularjs.org/tools/typescript.js"></script>
18-
<script src="https://code.angularjs.org/2.0.0-beta.11/angular2-polyfills.js"></script>
19-
<script src="https://code.angularjs.org/2.0.0-beta.11/Rx.js"></script>
20-
<script src="https://code.angularjs.org/2.0.0-beta.11/angular2.dev.js"></script>
18+
<script src="https://code.angularjs.org/2.0.0-beta.12/angular2-polyfills.js"></script>
19+
<script src="https://code.angularjs.org/2.0.0-beta.12/Rx.js"></script>
20+
<script src="https://code.angularjs.org/2.0.0-beta.12/angular2.dev.js"></script>
2121

2222
<!-- 2. Configure SystemJS -->
2323
<script>

public/docs/_examples/homepage-todo/ts/index.1.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
<script src="https://code.angularjs.org/tools/system.js"></script>
1717
<script src="https://code.angularjs.org/tools/typescript.js"></script>
18-
<script src="https://code.angularjs.org/2.0.0-beta.11/angular2-polyfills.js"></script>
19-
<script src="https://code.angularjs.org/2.0.0-beta.11/Rx.js"></script>
20-
<script src="https://code.angularjs.org/2.0.0-beta.11/angular2.dev.js"></script>
18+
<script src="https://code.angularjs.org/2.0.0-beta.12/angular2-polyfills.js"></script>
19+
<script src="https://code.angularjs.org/2.0.0-beta.12/Rx.js"></script>
20+
<script src="https://code.angularjs.org/2.0.0-beta.12/angular2.dev.js"></script>
2121

2222
<!-- 2. Configure SystemJS -->
2323
<script>

public/docs/_examples/package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,14 @@
1919
"author": "",
2020
"license": "ISC",
2121
"dependencies": {
22-
"angular2": "2.0.0-beta.11",
22+
"angular2": "2.0.0-beta.12",
2323
"systemjs": "0.19.24",
24-
"es6-promise": "^3.0.2",
2524
"es6-shim": "^0.35.0",
2625
"reflect-metadata": "0.1.2",
2726
"rxjs": "5.0.0-beta.2",
28-
"zone.js": "0.6.4",
27+
"zone.js": "0.6.6",
2928

30-
"a2-in-memory-web-api": "^0.1.11",
29+
"a2-in-memory-web-api": "^0.1.12",
3130
"bootstrap": "^3.3.6"
3231

3332
},
@@ -40,7 +39,7 @@
4039
"http-server": "^0.9.0",
4140
"jasmine-core": "~2.4.1",
4241
"karma": "^0.13.22",
43-
"karma-chrome-launcher": "^0.2.2",
42+
"karma-chrome-launcher": "^0.2.3",
4443
"karma-cli": "^0.1.2",
4544
"karma-jasmine": "^0.3.8",
4645
"live-server": "^0.9.2",

public/docs/_examples/quickstart/js/package.1.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@
77
},
88
"license": "ISC",
99
"dependencies": {
10-
"angular2": "2.0.0-beta.11",
11-
"es6-promise": "^3.0.2",
10+
"angular2": "2.0.0-beta.12",
1211
"es6-shim": "^0.35.0",
1312
"reflect-metadata": "0.1.2",
1413
"rxjs": "5.0.0-beta.2",
15-
"zone.js": "0.6.4"
14+
"zone.js": "0.6.6"
1615
},
1716
"devDependencies": {
1817
"concurrently": "^2.0.0",

public/docs/_examples/quickstart/ts/package.1.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111
},
1212
"license": "ISC",
1313
"dependencies": {
14-
"angular2": "2.0.0-beta.11",
14+
"angular2": "2.0.0-beta.12",
1515
"systemjs": "0.19.24",
16-
"es6-promise": "^3.0.2",
1716
"es6-shim": "^0.35.0",
1817
"reflect-metadata": "0.1.2",
1918
"rxjs": "5.0.0-beta.2",
20-
"zone.js": "0.6.4"
19+
"zone.js": "0.6.6"
2120
},
2221
"devDependencies": {
2322
"concurrently": "^2.0.0",

public/docs/ts/latest/_data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"icon": "home",
44
"title": "Angular Docs",
55
"menuTitle": "Docs Home",
6-
"banner": "Angular 2 is currently in Beta."
6+
"banner": "The current Angular 2 release is beta.12. Please consult the <a href='https://github.com/angular/angular/blob/master/CHANGELOG.md' target='_blank'> Change Log</a> about recent enhancements, fixes, and breaking changes."
77
},
88

99
"quickstart": {

public/docs/ts/latest/guide/lifecycle-hooks.jade

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -434,14 +434,12 @@ figure.image-display
434434
.l-main-section
435435
:marked
436436
## DoCheck
437-
438437
We can use the `DoCheck` hook to detect and act upon changes that Angular doesn't catch on its own.
439438
.l-sub-section
440439
:marked
441440
With this method we can detect a change that Angular overlooked.
442441
What we do with that information to refresh the display is a separate matter.
443442
:marked
444-
445443
The *DoCheck* sample extends the *OnChanges* sample with this implementation of `DoCheck`:
446444
+makeExample('lifecycle-hooks/ts/app/do-check.component.ts', 'ng-do-check', 'DoCheckComponent (ngDoCheck)')(format=".")
447445
:marked
@@ -544,7 +542,7 @@ figure.image-display
544542
In this case, the projected content is the `<child-view>` from the parent.
545543
figure.image-display
546544
img(src='/resources/images/devguide/lifecycle-hooks/projected-child-view.png' width="230" alt="Projected Content")
547-
:marked
545+
:marked
548546
.l-sub-section
549547
:marked
550548
The tell-tale signs of *content projection* are (a) HTML between component element tags

public/docs/ts/latest/index.jade

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
.alert.is-critical
2-
:marked
3-
The current beta.11 release has known bugs relating to
4-
significant changes to the _zones_ subsystem.
5-
All apps will report an error to the console:<br>
6-
<span style="color:red; font-family:Lucida Console;">
7-
Uncaught TypeError: Cannot read property 'zone' of undefined</span><br>
8-
The app will run unimpeded but it is disconcerting.
9-
We hope to have this and other bugs repaired by beta.12.
10-
Thanks for your patience.
11-
121
div.card-row(layout='row')
132
div(flex)
143
md-card.card

public/docs/ts/latest/tutorial/toh-pt4.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ code-example(format="." language="html").
288288
It does that work (somewhere) and eventually it calls our function with the results of the work or an error.
289289
.l-sub-section
290290
:marked
291-
We are simplifying. Learn about ES2015 Promises [here](http://www.datchley.name/es6-promises/) and elsewhere on the web.
291+
We are simplifying. Learn about ES2015 Promises [here](http://www.2ality.com/2014/10/es6-promises-api.html) and elsewhere on the web.
292292
:marked
293293
Update the `HeroService` with this promise-returning `getHeroes` method:
294294
+makeExample('toh-4/ts/app/hero.service.ts', 'get-heroes', 'hero.service.ts (getHeroes)')(format=".")

tools/plunker-builder/indexHtmlTranslator.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,47 +40,47 @@ var _rxData = [
4040
{
4141
pattern: 'script',
4242
from: 'node_modules/angular2/bundles/angular2.dev.js',
43-
to: 'https://code.angularjs.org/2.0.0-beta.11/angular2.dev.js'
43+
to: 'https://code.angularjs.org/2.0.0-beta.12/angular2.dev.js'
4444
},
4545
{
4646
pattern: 'script',
4747
from: 'node_modules/angular2/bundles/angular2-all.umd.js',
48-
to: 'https://code.angularjs.org/2.0.0-beta.11/angular2-all.umd.dev.js'
48+
to: 'https://code.angularjs.org/2.0.0-beta.12/angular2-all.umd.dev.js'
4949
},
5050
{
5151
pattern: 'script',
5252
from: 'node_modules/angular2/bundles/angular2-polyfills.js',
53-
to: 'https://code.angularjs.org/2.0.0-beta.11/angular2-polyfills.js'
53+
to: 'https://code.angularjs.org/2.0.0-beta.12/angular2-polyfills.js'
5454
},
5555
{
5656
pattern: 'script',
5757
from: 'node_modules/rxjs/bundles/Rx.js',
58-
to: 'https://code.angularjs.org/2.0.0-beta.11/Rx.js'
58+
to: 'https://code.angularjs.org/2.0.0-beta.12/Rx.js'
5959
},
6060
{
6161
pattern: 'script',
6262
from: 'node_modules/rxjs/bundles/Rx.umd.js',
63-
to: 'https://code.angularjs.org/2.0.0-beta.11/Rx.umd.js'
63+
to: 'https://code.angularjs.org/2.0.0-beta.12/Rx.umd.js'
6464
},
6565
{
6666
pattern: 'script',
6767
from: 'node_modules/angular2/bundles/router.dev.js',
68-
to: 'https://code.angularjs.org/2.0.0-beta.11/router.dev.js'
68+
to: 'https://code.angularjs.org/2.0.0-beta.12/router.dev.js'
6969
},
7070
{
7171
pattern: 'script',
7272
from: 'node_modules/angular2/bundles/http.dev.js',
73-
to: 'https://code.angularjs.org/2.0.0-beta.11/http.dev.js'
73+
to: 'https://code.angularjs.org/2.0.0-beta.12/http.dev.js'
7474
},
7575
{
7676
pattern: 'script',
7777
from: 'node_modules/angular2/bundles/testing.dev.js',
78-
to: 'https://code.angularjs.org/2.0.0-beta.11/testing.dev.js'
78+
to: 'https://code.angularjs.org/2.0.0-beta.12/testing.dev.js'
7979
},
8080
{
8181
pattern: 'script',
8282
from: 'node_modules/angular2/es6/dev/src/testing/shims_for_IE.js',
83-
to: 'https://npmcdn.com/angular2@2.0.0-beta.11/es6/dev/src/testing/shims_for_IE.js'
83+
to: 'https://npmcdn.com/angular2@2.0.0-beta.12/es6/dev/src/testing/shims_for_IE.js'
8484
},
8585
{
8686
pattern: 'script',

0 commit comments

Comments
 (0)