docs(update): update examples to alpha-23 and small fixes from Jeff
This commit is contained in:
parent
daa80db5ff
commit
22383d4816
@ -21,7 +21,7 @@
|
|||||||
.l-main-section
|
.l-main-section
|
||||||
h2#section-create-an-entry-point Create an entry point
|
h2#section-create-an-entry-point Create an entry point
|
||||||
|
|
||||||
p Open your favorite editor and create a show-properties.html file with the content:
|
p Open your favorite editor and create a <code>show-properties.html</code> file with the content:
|
||||||
|
|
||||||
code-example(language="html" escape="html").
|
code-example(language="html" escape="html").
|
||||||
<display></display>
|
<display></display>
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<script src="https://jspm.io/system@0.16.js"></script>
|
<script src="https://jspm.io/system@0.16.js"></script>
|
||||||
<script src="https://code.angularjs.org/2.0.0-alpha.22/angular2.dev.js"></script>
|
<script src="https://code.angularjs.org/2.0.0-alpha.23/angular2.dev.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<my-app></my-app>
|
<my-app></my-app>
|
||||||
@ -59,7 +59,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<script src="https://code.angularjs.org/2.0.0-alpha.22/angular2.sfx.dev.js"></script>
|
<script src="https://code.angularjs.org/2.0.0-alpha.23/angular2.sfx.dev.js"></script>
|
||||||
<script src="main.js"></script>
|
<script src="main.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -14,12 +14,6 @@
|
|||||||
As in previous examples, you can make element references available to other parts of the template as a local
|
As in previous examples, you can make element references available to other parts of the template as a local
|
||||||
variable using the <code>#var</code> syntax. With this and events, we can do the old "update text as you type" example:
|
variable using the <code>#var</code> syntax. With this and events, we can do the old "update text as you type" example:
|
||||||
|
|
||||||
.callout.is-helpful
|
|
||||||
header Broken Example
|
|
||||||
p
|
|
||||||
span This specific example is currently broken, pending resolution of
|
|
||||||
a(href="https://github.com/angular/angular/issues/2019") 2019
|
|
||||||
|
|
||||||
code-example(language="html").
|
code-example(language="html").
|
||||||
<input #myname (keyup)>
|
<input #myname (keyup)>
|
||||||
<p>{{myname.value}}</p>
|
<p>{{myname.value}}</p>
|
||||||
|
@ -181,7 +181,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>Angular 2 Quickstart</title>
|
<title>Angular 2 Quickstart</title>
|
||||||
<script src="https://github.jspm.io/jmcriffey/bower-traceur-runtime@0.0.87/traceur-runtime.js"></script>
|
<script src="https://github.jspm.io/jmcriffey/bower-traceur-runtime@0.0.87/traceur-runtime.js"></script>
|
||||||
<script src="https://code.angularjs.org/2.0.0-alpha.22/angular2.dev.js"></script>
|
<script src="https://code.angularjs.org/2.0.0-alpha.23/angular2.dev.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
@ -216,7 +216,7 @@
|
|||||||
<title>Angular 2 Quickstart</title>
|
<title>Angular 2 Quickstart</title>
|
||||||
<script src="https://github.jspm.io/jmcriffey/bower-traceur-runtime@0.0.87/traceur-runtime.js"></script>
|
<script src="https://github.jspm.io/jmcriffey/bower-traceur-runtime@0.0.87/traceur-runtime.js"></script>
|
||||||
<script src="https://jspm.io/system@0.16.js"></script>
|
<script src="https://jspm.io/system@0.16.js"></script>
|
||||||
<script src="https://code.angularjs.org/2.0.0-alpha.22/angular2.dev.js"></script>
|
<script src="https://code.angularjs.org/2.0.0-alpha.23/angular2.dev.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
p.
|
p.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user