es6-shim to quickstart renaming.
This commit is contained in:
parent
94508dd5b3
commit
0e6a738a41
|
@ -36,13 +36,12 @@ p.
|
||||||
h4 AtScript
|
h4 AtScript
|
||||||
p.
|
p.
|
||||||
Angular is built with <strong>AtScript</strong>. AtScript is an extension of ES6 (ECMAScript 6), the new specification
|
Angular is built with <strong>AtScript</strong>. AtScript is an extension of ES6 (ECMAScript 6), the new specification
|
||||||
of the JavaScript language. This quickstart features AtScript, but Angular
|
of the JavaScript language. This quickstart features AtScript, but you can write Angular in ES5 or ES6 as well.
|
||||||
doesn't require you to write AtScript.
|
|
||||||
|
|
||||||
h4 ES6
|
h4 ES6
|
||||||
p.
|
p.
|
||||||
AtScript compiles to <strong>ES6</strong>, which is not widely supported in all browsers today.
|
AtScript compiles to <strong>ES6</strong>, which is not widely supported in all browsers today.
|
||||||
The es6-shim repository allows you to use ES6 or AtScript in the browser.
|
The <code>es6-shim.js</code> file allows you to use ES6 or AtScript in the browser.
|
||||||
|
|
||||||
h4 es6-shim
|
h4 es6-shim
|
||||||
p.
|
p.
|
||||||
|
@ -197,7 +196,7 @@ p.
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Angular 2 Quickstart</title>
|
<title>Angular 2 Quickstart</title>
|
||||||
<script src="/es6-shim/dist/es6-shim.js"></script>
|
<script src="/quickstart/dist/es6-shim.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
@ -234,8 +233,8 @@ p.
|
||||||
<script>
|
<script>
|
||||||
// Rewrite the paths to load the files
|
// Rewrite the paths to load the files
|
||||||
System.paths = {
|
System.paths = {
|
||||||
'angular2/*':'/es6-shim/angular2/*.js', // Angular
|
'angular2/*':'/quickstart/angular2/*.js', // Angular
|
||||||
'rtts_assert/*': '/es6-shim/rtts_assert/*.js', //Runtime assertions
|
'rtts_assert/*': '/quickstart/rtts_assert/*.js', //Runtime assertions
|
||||||
'app': 'app.es6' // The my-app component
|
'app': 'app.es6' // The my-app component
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue