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

Commit f2f5d9f

Browse files
committed
docs(ts): update to beta.15
also restore accidentally deleted router sample files
1 parent 353abff commit f2f5d9f

File tree

14 files changed

+91
-40
lines changed

14 files changed

+91
-40
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
<!-- 1. Load libraries -->
1010
<!-- IE required polyfills (from CDN), in this exact order -->
1111
<script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.35.0/es6-shim.min.js"></script>
12-
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.25/system-polyfills.js"></script>
12+
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.26/system-polyfills.js"></script>
1313
<script src="https://npmcdn.com/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
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.14/angular2-polyfills.js"></script>
18-
<script src="https://code.angularjs.org/2.0.0-beta.14/Rx.js"></script>
19-
<script src="https://code.angularjs.org/2.0.0-beta.14/angular2.dev.js"></script>
17+
<script src="https://code.angularjs.org/2.0.0-beta.15/angular2-polyfills.js"></script>
18+
<script src="https://code.angularjs.org/2.0.0-beta.15/Rx.js"></script>
19+
<script src="https://code.angularjs.org/2.0.0-beta.15/angular2.dev.js"></script>
2020

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

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
<!-- 1. Load libraries -->
1111
<!-- IE required polyfills (from CDN), in this exact order -->
1212
<script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.35.0/es6-shim.min.js"></script>
13-
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.25/system-polyfills.js"></script>
13+
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.26/system-polyfills.js"></script>
1414
<script src="https://npmcdn.com/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
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.14/angular2-polyfills.js"></script>
19-
<script src="https://code.angularjs.org/2.0.0-beta.14/Rx.js"></script>
20-
<script src="https://code.angularjs.org/2.0.0-beta.14/angular2.dev.js"></script>
18+
<script src="https://code.angularjs.org/2.0.0-beta.15/angular2-polyfills.js"></script>
19+
<script src="https://code.angularjs.org/2.0.0-beta.15/Rx.js"></script>
20+
<script src="https://code.angularjs.org/2.0.0-beta.15/angular2.dev.js"></script>
2121

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

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
<!-- 1. Load libraries -->
1111
<!-- IE required polyfills (from CDN), in this exact order -->
1212
<script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.35.0/es6-shim.min.js"></script>
13-
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.25/system-polyfills.js"></script>
13+
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.26/system-polyfills.js"></script>
1414
<script src="https://npmcdn.com/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
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.14/angular2-polyfills.js"></script>
19-
<script src="https://code.angularjs.org/2.0.0-beta.14/Rx.js"></script>
20-
<script src="https://code.angularjs.org/2.0.0-beta.14/angular2.dev.js"></script>
18+
<script src="https://code.angularjs.org/2.0.0-beta.15/angular2-polyfills.js"></script>
19+
<script src="https://code.angularjs.org/2.0.0-beta.15/Rx.js"></script>
20+
<script src="https://code.angularjs.org/2.0.0-beta.15/angular2.dev.js"></script>
2121

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

public/docs/_examples/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@
2020
"author": "",
2121
"license": "ISC",
2222
"dependencies": {
23-
"angular2": "2.0.0-beta.14",
24-
"systemjs": "0.19.25",
23+
"angular2": "2.0.0-beta.15",
24+
"systemjs": "0.19.26",
2525
"es6-shim": "^0.35.0",
2626
"reflect-metadata": "0.1.2",
2727
"rxjs": "5.0.0-beta.2",
28-
"zone.js": "0.6.6",
28+
"zone.js": "0.6.10",
2929

30-
"a2-in-memory-web-api": "^0.1.14",
30+
"a2-in-memory-web-api": "^0.1.15",
3131
"bootstrap": "^3.3.6"
3232

3333
},
3434
"devDependencies": {
3535
"concurrently": "^2.0.0",
3636
"lite-server": "^2.2.0",
37-
"typescript": "^1.8.9",
37+
"typescript": "^1.8.10",
3838
"typings":"^0.7.12",
3939

4040
"http-server": "^0.9.0",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
},
88
"license": "ISC",
99
"dependencies": {
10-
"angular2": "2.0.0-beta.14",
10+
"angular2": "2.0.0-beta.15",
1111
"es6-shim": "^0.35.0",
1212
"reflect-metadata": "0.1.2",
1313
"rxjs": "5.0.0-beta.2",
14-
"zone.js": "0.6.6"
14+
"zone.js": "0.6.10"
1515
},
1616
"devDependencies": {
1717
"concurrently": "^2.0.0",

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
},
1212
"license": "ISC",
1313
"dependencies": {
14-
"angular2": "2.0.0-beta.14",
15-
"systemjs": "0.19.25",
14+
"angular2": "2.0.0-beta.15",
15+
"systemjs": "0.19.26",
1616
"es6-shim": "^0.35.0",
1717
"reflect-metadata": "0.1.2",
1818
"rxjs": "5.0.0-beta.2",
19-
"zone.js": "0.6.6"
19+
"zone.js": "0.6.10"
2020
},
2121
"devDependencies": {
2222
"concurrently": "^2.0.0",
2323
"lite-server": "^2.2.0",
24-
"typescript": "^1.8.9",
24+
"typescript": "^1.8.10",
2525
"typings":"^0.7.12"
2626
}
2727
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"ambientDependencies": {
33
"es6-shim": "github:DefinitelyTyped/DefinitelyTyped/es6-shim/es6-shim.d.ts#7de6c3dd94feaeb21f20054b9f30d5dabc5efabd",
4-
"jasmine": "github:DefinitelyTyped/DefinitelyTyped/jasmine/jasmine.d.ts#7de6c3dd94feaeb21f20054b9f30d5dabc5efabd"
4+
"jasmine": "github:DefinitelyTyped/DefinitelyTyped/jasmine/jasmine.d.ts#5c182b9af717f73146399c2485f70f1e2ac0ff2b"
55
}
66
}

public/docs/_examples/router/ts/example-config.json

Whitespace-only changes.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<!DOCTYPE html>
2+
<!-- #docregion -->
3+
<html>
4+
<head>
5+
<!-- Set the base href -->
6+
<!-- #docregion base-href -->
7+
<base href="/">
8+
<!-- #enddocregion base-href -->
9+
10+
<title>Router Sample</title>
11+
<meta name="viewport" content="width=device-width, initial-scale=1">
12+
<link rel="stylesheet" href="styles.css">
13+
14+
<!-- #docregion ie-polyfills -->
15+
<!-- IE required polyfills, in this exact order -->
16+
<script src="node_modules/es6-shim/es6-shim.min.js"></script>
17+
<script src="node_modules/systemjs/dist/system-polyfills.js"></script>
18+
<script src="node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
19+
<!-- #enddocregion ie-polyfills -->
20+
21+
<script src="node_modules/angular2/bundles/angular2-polyfills.js"></script>
22+
<script src="node_modules/systemjs/dist/system.src.js"></script>
23+
<script src="node_modules/rxjs/bundles/Rx.js"></script>
24+
<script src="node_modules/angular2/bundles/angular2.dev.js"></script>
25+
26+
<!-- Add the router library -->
27+
<!-- #docregion router-lib -->
28+
<script src="node_modules/angular2/bundles/router.dev.js"></script>
29+
<!-- #enddocregion router-lib -->
30+
31+
<script>
32+
System.config({
33+
packages: {
34+
app: {
35+
format: 'register',
36+
defaultExtension: 'js'
37+
}
38+
}
39+
});
40+
System.import('app/main')
41+
.then(null, console.error.bind(console));
42+
</script>
43+
</head>
44+
45+
<body>
46+
<my-app>loading...</my-app>
47+
</body>
48+
49+
</html>
50+
<!-- #enddocregion -->

public/docs/_examples/typings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"ambientDependencies": {
33
"es6-shim": "github:DefinitelyTyped/DefinitelyTyped/es6-shim/es6-shim.d.ts#7de6c3dd94feaeb21f20054b9f30d5dabc5efabd",
4-
"jasmine": "github:DefinitelyTyped/DefinitelyTyped/jasmine/jasmine.d.ts#7de6c3dd94feaeb21f20054b9f30d5dabc5efabd"
4+
"jasmine": "github:DefinitelyTyped/DefinitelyTyped/jasmine/jasmine.d.ts#5c182b9af717f73146399c2485f70f1e2ac0ff2b"
55
}
66
}

0 commit comments

Comments
 (0)