docs: update to beta-8
This commit is contained in:
parent
746a6649b2
commit
17aa278ddb
|
@ -14,9 +14,9 @@
|
|||
|
||||
<script src="https://code.angularjs.org/tools/system.js"></script>
|
||||
<script src="https://code.angularjs.org/tools/typescript.js"></script>
|
||||
<script src="https://code.angularjs.org/2.0.0-beta.7/angular2-polyfills.js"></script>
|
||||
<script src="https://code.angularjs.org/2.0.0-beta.7/Rx.js"></script>
|
||||
<script src="https://code.angularjs.org/2.0.0-beta.7/angular2.dev.js"></script>
|
||||
<script src="https://code.angularjs.org/2.0.0-beta.8/angular2-polyfills.js"></script>
|
||||
<script src="https://code.angularjs.org/2.0.0-beta.8/Rx.js"></script>
|
||||
<script src="https://code.angularjs.org/2.0.0-beta.8/angular2.dev.js"></script>
|
||||
|
||||
<!-- 2. Configure SystemJS -->
|
||||
<script>
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
|
||||
<script src="https://code.angularjs.org/tools/system.js"></script>
|
||||
<script src="https://code.angularjs.org/tools/typescript.js"></script>
|
||||
<script src="https://code.angularjs.org/2.0.0-beta.7/angular2-polyfills.js"></script>
|
||||
<script src="https://code.angularjs.org/2.0.0-beta.7/Rx.js"></script>
|
||||
<script src="https://code.angularjs.org/2.0.0-beta.7/angular2.dev.js"></script>
|
||||
<script src="https://code.angularjs.org/2.0.0-beta.8/angular2-polyfills.js"></script>
|
||||
<script src="https://code.angularjs.org/2.0.0-beta.8/Rx.js"></script>
|
||||
<script src="https://code.angularjs.org/2.0.0-beta.8/angular2.dev.js"></script>
|
||||
|
||||
<!-- 2. Configure SystemJS -->
|
||||
<script>
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
|
||||
<script src="https://code.angularjs.org/tools/system.js"></script>
|
||||
<script src="https://code.angularjs.org/tools/typescript.js"></script>
|
||||
<script src="https://code.angularjs.org/2.0.0-beta.7/angular2-polyfills.js"></script>
|
||||
<script src="https://code.angularjs.org/2.0.0-beta.7/Rx.js"></script>
|
||||
<script src="https://code.angularjs.org/2.0.0-beta.7/angular2.dev.js"></script>
|
||||
<script src="https://code.angularjs.org/2.0.0-beta.8/angular2-polyfills.js"></script>
|
||||
<script src="https://code.angularjs.org/2.0.0-beta.8/Rx.js"></script>
|
||||
<script src="https://code.angularjs.org/2.0.0-beta.8/angular2.dev.js"></script>
|
||||
|
||||
<!-- 2. Configure SystemJS -->
|
||||
<script>
|
||||
|
|
|
@ -19,15 +19,15 @@
|
|||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"angular2": "2.0.0-beta.7",
|
||||
"systemjs": "0.19.22",
|
||||
"angular2": "2.0.0-beta.8",
|
||||
"systemjs": "0.19.23",
|
||||
"es6-promise": "^3.0.2",
|
||||
"es6-shim": "^0.33.3",
|
||||
"reflect-metadata": "0.1.2",
|
||||
"rxjs": "5.0.0-beta.2",
|
||||
"zone.js": "0.5.15",
|
||||
|
||||
"a2-in-memory-web-api": "^0.1.7",
|
||||
"a2-in-memory-web-api": "^0.1.8",
|
||||
"bootstrap": "^3.3.6"
|
||||
|
||||
},
|
||||
|
@ -43,8 +43,8 @@
|
|||
"live-server": "^0.9.2",
|
||||
"protractor": "^3.1.1",
|
||||
"rimraf": "^2.5.2",
|
||||
"typescript": "^1.8.2",
|
||||
"typings": "0.6.8"
|
||||
"typescript": "^1.8.7",
|
||||
"typings": "0.6.9"
|
||||
},
|
||||
"repository": { }
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
},
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"angular2": "2.0.0-beta.7",
|
||||
"angular2": "2.0.0-beta.8",
|
||||
"es6-promise": "^3.0.2",
|
||||
"es6-shim": "^0.33.3",
|
||||
"reflect-metadata": "0.1.2",
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"angular2": "2.0.0-beta.7",
|
||||
"angular2": "2.0.0-beta.8",
|
||||
"systemjs": "0.19.22",
|
||||
"es6-promise": "^3.0.2",
|
||||
"es6-shim": "^0.33.3",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"ambientDependencies": {
|
||||
"es6-shim": "github:DefinitelyTyped/DefinitelyTyped/es6-shim/es6-shim.d.ts#6697d6f7dadbf5773cb40ecda35a76027e0783b2"
|
||||
"es6-shim": "github:DefinitelyTyped/DefinitelyTyped/es6-shim/es6-shim.d.ts#4de74cb527395c13ba20b438c3a7a419ad931f1c",
|
||||
"jasmine": "github:DefinitelyTyped/DefinitelyTyped/jasmine/jasmine.d.ts#bc92442c075929849ec41d28ab618892ba493504"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"ambientDependencies": {
|
||||
"es6-shim": "github:DefinitelyTyped/DefinitelyTyped/es6-shim/es6-shim.d.ts#4de74cb527395c13ba20b438c3a7a419ad931f1c",
|
||||
"jasmine": "github:DefinitelyTyped/DefinitelyTyped/jasmine/jasmine.d.ts#dd638012d63e069f2c99d06ef4dcc9616a943ee4"
|
||||
"jasmine": "github:DefinitelyTyped/DefinitelyTyped/jasmine/jasmine.d.ts#bc92442c075929849ec41d28ab618892ba493504"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -92,11 +92,14 @@ a(id="typings")
|
|||
such as this one from the [QuickStart](../quickstart.html):
|
||||
+makeJson('quickstart/ts/typings.1.json', null, 'typings.json')(format=".")
|
||||
:marked
|
||||
We identified only one *typings* file in the QuickStart, the *d.ts* file for
|
||||
[es6-shim](https://github.com/paulmillr/es6-shim/blob/master/README.md) that brings ES2015/ES6
|
||||
capabilities to our ES5 browsers.
|
||||
QuickStart itself doesn't need this shim but many of the documentation samples do
|
||||
and most of us would be disappointed if typical ES2015 features didn't work out-of-the-box.
|
||||
We identified two *typings* file in the QuickStart, the *d.ts* file for
|
||||
[es6-shim](https://github.com/paulmillr/es6-shim/blob/master/README.md)
|
||||
that brings ES2015/ES6 capabilities to our ES5 browsers and for the
|
||||
[jasmine](http://jasmine.github.io/) test framework.
|
||||
|
||||
QuickStart itself doesn't require these shims but many of the documentation samples do
|
||||
and most of us would be disappointed if typical ES2015 features didn't work out-of-the-box
|
||||
or we didn't support testing.
|
||||
|
||||
We can also run the *typings* tool ourselves. The following command lists the locally installed typings files.
|
||||
code-example(format="").
|
||||
|
|
|
@ -40,47 +40,47 @@ var _rxData = [
|
|||
{
|
||||
pattern: 'script',
|
||||
from: 'node_modules/angular2/bundles/angular2.dev.js',
|
||||
to: 'https://code.angularjs.org/2.0.0-beta.7/angular2.dev.js'
|
||||
to: 'https://code.angularjs.org/2.0.0-beta.8/angular2.dev.js'
|
||||
},
|
||||
{
|
||||
pattern: 'script',
|
||||
from: 'node_modules/angular2/bundles/angular2-all.umd.js',
|
||||
to: 'https://code.angularjs.org/2.0.0-beta.7/angular2-all.umd.dev.js'
|
||||
to: 'https://code.angularjs.org/2.0.0-beta.8/angular2-all.umd.dev.js'
|
||||
},
|
||||
{
|
||||
pattern: 'script',
|
||||
from: 'node_modules/angular2/bundles/angular2-polyfills.js',
|
||||
to: 'https://code.angularjs.org/2.0.0-beta.7/angular2-polyfills.js'
|
||||
to: 'https://code.angularjs.org/2.0.0-beta.8/angular2-polyfills.js'
|
||||
},
|
||||
{
|
||||
pattern: 'script',
|
||||
from: 'node_modules/rxjs/bundles/Rx.js',
|
||||
to: 'https://code.angularjs.org/2.0.0-beta.7/Rx.js'
|
||||
to: 'https://code.angularjs.org/2.0.0-beta.8/Rx.js'
|
||||
},
|
||||
{
|
||||
pattern: 'script',
|
||||
from: 'node_modules/rxjs/bundles/Rx.umd.js',
|
||||
to: 'https://code.angularjs.org/2.0.0-beta.7/Rx.umd.js'
|
||||
to: 'https://code.angularjs.org/2.0.0-beta.8/Rx.umd.js'
|
||||
},
|
||||
{
|
||||
pattern: 'script',
|
||||
from: 'node_modules/angular2/bundles/router.dev.js',
|
||||
to: 'https://code.angularjs.org/2.0.0-beta.7/router.dev.js'
|
||||
to: 'https://code.angularjs.org/2.0.0-beta.8/router.dev.js'
|
||||
},
|
||||
{
|
||||
pattern: 'script',
|
||||
from: 'node_modules/angular2/bundles/http.dev.js',
|
||||
to: 'https://code.angularjs.org/2.0.0-beta.7/http.dev.js'
|
||||
to: 'https://code.angularjs.org/2.0.0-beta.8/http.dev.js'
|
||||
},
|
||||
{
|
||||
pattern: 'script',
|
||||
from: 'node_modules/angular2/bundles/testing.dev.js',
|
||||
to: 'https://code.angularjs.org/2.0.0-beta.7/testing.dev.js'
|
||||
to: 'https://code.angularjs.org/2.0.0-beta.8/testing.dev.js'
|
||||
},
|
||||
{
|
||||
pattern: 'script',
|
||||
from: 'node_modules/angular2/es6/dev/src/testing/shims_for_IE.js',
|
||||
to: 'https://npmcdn.com/angular2@2.0.0-beta.7/es6/dev/src/testing/shims_for_IE.js'
|
||||
to: 'https://npmcdn.com/angular2@2.0.0-beta.8/es6/dev/src/testing/shims_for_IE.js'
|
||||
},
|
||||
{
|
||||
pattern: 'script',
|
||||
|
|
Loading…
Reference in New Issue