8000 fix(quickstart): Update TS quickstart to use newly released TS 1.5.0 … · rusongyu/angular.io@c3c813b · GitHub
[go: up one dir, main page]

Skip to content

Commit c3c813b

Browse files
committed
fix(quickstart): Update TS quickstart to use newly released TS 1.5.0 beta.
1 parent 2bb004c commit c3c813b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

public/docs/js/latest/quickstart.jade

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@
4242
know to read this file so we don't need to configure them or add command-line options.
4343

4444
pre.prettyprint
45-
# We need to use an unreleased version of TypeScript
46-
$ npm install -g mhegazy/typescript#v1.5-beta
45+
$ npm install -g typescript@^1.5.0-beta
4746
$ tsc --watch
4847

4948
// STEP 3 - Import Angular ##########################
@@ -217,21 +216,25 @@
217216
adds ES6 module loading functionality to browsers.
218217

219218
p.
220-
Add the System.js dependency in the <code>&lt;head&gt;</code> tag:
219+
Add the System.js dependency in the <code>&lt;head&gt;</code> tag, so that
220+
it looks like:
221221

222222
pre.prettyprint.linenums
223223
code.
224224
&lt;head&gt;
225+
&lt;title&gt;Angular 2 Quickstart&lt;/title&gt;
226+
&lt;script src="https://github.jspm.io/jmcriffey/bower-traceur-runtime@0.0.87/traceur-runtime.js"&gt;&lt;/script&gt;
225227
&lt;script src="https://jspm.io/system@0.16.js"&gt;&lt;/script&gt;
228+
&lt;script src="bundle/angular2.dev.js"&gt;&lt;/script&gt;
226229
&lt;/head&gt;
227230

228231
p.
229232
Add the following module-loading code before the <code>&lt;my-app&gt;</code> tag:
230233

231234
pre.prettyprint.linenums
232235
code.
233-
&lt;script&gt;System.import('app');&lt;/script&gt;
234236
&lt;my-app&gt;&lt;/my-app&gt;
237+
&lt;script&gt;System.import('app');&lt;/script&gt;
235238

236239

237240
// STEP 8 - Run a local server ##########################

0 commit comments

Comments
 (0)
0