fix(quickstart): Update TS quickstart to use newly released TS 1.5.0 beta.

This commit is contained in:
Rado Kirov 2015-04-30 11:59:54 -07:00
parent 2bb004c44a
commit c3c813b4bb
1 changed files with 7 additions and 4 deletions

View File

@ -42,8 +42,7 @@
know to read this file so we don't need to configure them or add command-line options.
pre.prettyprint
# We need to use an unreleased version of TypeScript
$ npm install -g mhegazy/typescript#v1.5-beta
$ npm install -g typescript@^1.5.0-beta
$ tsc --watch
// STEP 3 - Import Angular ##########################
@ -217,12 +216,16 @@
adds ES6 module loading functionality to browsers.
p.
Add the System.js dependency in the <code>&lt;head&gt;</code> tag:
Add the System.js dependency in the <code>&lt;head&gt;</code> tag, so that
it looks like:
pre.prettyprint.linenums
code.
&lt;head&gt;
&lt;title&gt;Angular 2 Quickstart&lt;/title&gt;
&lt;script src="https://github.jspm.io/jmcriffey/bower-traceur-runtime@0.0.87/traceur-runtime.js"&gt;&lt;/script&gt;
&lt;script src="https://jspm.io/system@0.16.js"&gt;&lt;/script&gt;
&lt;script src="bundle/angular2.dev.js"&gt;&lt;/script&gt;
&lt;/head&gt;
p.
@ -230,8 +233,8 @@
pre.prettyprint.linenums
code.
&lt;script&gt;System.import('app');&lt;/script&gt;
&lt;my-app&gt;&lt;/my-app&gt;
&lt;script&gt;System.import('app');&lt;/script&gt;
// STEP 8 - Run a local server ##########################