Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1274)

Unified Diff: src/site/docs/tutorials/fetchdata/examples/its_all_about_you/web/tute_its_all_about_you.html

Issue 275613002: Update polymer tutorial; make directory paths match new sample structure (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: probably nothing (oh app engine you joker) Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/site/docs/tutorials/fetchdata/examples/its_all_about_you/web/tute_its_all_about_you.html
diff --git a/src/site/docs/tutorials/fetchdata/examples/its_all_about_you/out/web/tute_its_all_about_you.html b/src/site/docs/tutorials/fetchdata/examples/its_all_about_you/web/tute_its_all_about_you.html
similarity index 81%
rename from src/site/docs/tutorials/fetchdata/examples/its_all_about_you/out/web/tute_its_all_about_you.html
rename to src/site/docs/tutorials/fetchdata/examples/its_all_about_you/web/tute_its_all_about_you.html
index 8a5f100062e83e5444d69115928cf93236fa7c68..db14a5eec1c1053b1f1d975da8da150d612d59d7 100644
--- a/src/site/docs/tutorials/fetchdata/examples/its_all_about_you/out/web/tute_its_all_about_you.html
+++ b/src/site/docs/tutorials/fetchdata/examples/its_all_about_you/web/tute_its_all_about_you.html
@@ -1,3 +1,8 @@
+<!-- Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+ for details. All rights reserved. Use of this source code is governed by a
+ BSD-style license that can be found in the LICENSE file.
+-->
+
<!DOCTYPE html>
<html>
@@ -6,9 +11,7 @@
<title>It's All About You</title>
<link rel="stylesheet" href="its_all_about_you.css">
</head>
- <body>
- <h1>Tell me about yourself</h1>
-
+ <body>
<polymer-element name="tute-its-all-about-you">
<template>
@@ -73,36 +76,36 @@
<tbody>
<tr>
<td align="right">Favorite number:</td>
- <td><input type="text" value="{{favoriteNumber}}" on-input="showJson"></td>
+ <td><input type="text" value="{{favoriteNumber}}" on-input="{{showJson}}"></td>
<td>integer</td>
<td><span class="result"> {{intAsJson}} </span></td>
</tr>
<tr>
<td align="right">Do you know pi?</td>
- <td><input type="text" value="{{valueOfPi}}" on-input="showJson"></td>
+ <td><input type="text" value="{{valueOfPi}}" on-input="{{showJson}}"></td>
<td>double</td>
<td><span class="result"> {{doubleAsJson}} </span></td>
</tr>
<tr>
<td align="right">What's your sign?</td>
- <td><input type="text" value="{{horrorScope}}" on-input="showJson"></td>
+ <td><input type="text" value="{{horrorScope}}" on-input="{{showJson}}"></td>
<td>String</td>
<td><span class="result"> {{stringAsJson}} </span></td>
</tr>
<tr>
<td align="right">A few of your favorite things?</td>
<td>
- <input type="text" value="{{favOne}}" on-input="showJson">
- <input type="text" value="{{favTwo}}" on-input="showJson">
- <input type="text" value="{{favThree}}" on-input="showJson">
+ <input type="text" value="{{favOne}}" on-input="{{showJson}}">
+ <input type="text" value="{{favTwo}}" on-input="{{showJson}}">
+ <input type="text" value="{{favThree}}" on-input="{{showJson}}">
</td>
<td>List&lt;String&gt;</td>
<td><span class="result"> {{listAsJson}} </span></td>
</tr>
<tr>
<td align="right">I love chocolate!</td>
- <td><input type="radio" on-change="showJson" name="chocolate" id="lovechocolate" checked>True
- <input type="radio" on-change="showJson" name="chocolate" id="noloveforchocolate">False
+ <td><input type="radio" on-change="{{showJson}}" name="chocolate" id="lovechocolate" checked>True
+ <input type="radio" on-change="{{showJson}}" name="chocolate" id="noloveforchocolate">False
</td>
<td>bool</td>
<td><span class="result"> {{boolAsJson}} </span></td>

Powered by Google App Engine
This is Rietveld 408576698