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

Side by Side Diff: pkg/polymer/test/event_handlers_test.html

Issue 182193002: [polymer] interop with polymer-element and polymer.js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <!-- 2 <!--
3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
4 for details. All rights reserved. Use of this source code is governed by a 4 for details. All rights reserved. Use of this source code is governed by a
5 BSD-style license that can be found in the LICENSE file. 5 BSD-style license that can be found in the LICENSE file.
6 --> 6 -->
7 <html> 7 <html>
8 <!--polymer-test: this comment is needed for test_suite.dart--> 8 <!--polymer-test: this comment is needed for test_suite.dart-->
9 <!-- Test ported from: 9 <!-- Test ported from:
10 https://github.com/Polymer/polymer/blob/b720085/test/html/event-handlers.html 10 https://github.com/Polymer/polymer/blob/b720085/test/html/event-handlers.html
11 --> 11 -->
12 <head> 12 <head>
13 <title>event handlers</title> 13 <title>event handlers</title>
14 <link rel="import" href="packages/polymer/polymer.html">
14 <script src="/root_dart/tools/testing/dart/test_controller.js"></script> 15 <script src="/root_dart/tools/testing/dart/test_controller.js"></script>
15 </head> 16 </head>
16 <body> 17 <body>
17 18
18 <x-test> 19 <x-test>
19 <div>...light...</div> 20 <div>...light...</div>
20 </x-test> 21 </x-test>
21 22
22 <polymer-element name="x-test" on-tap="{{hostTapAction}}"> 23 <polymer-element name="x-test" on-tap="{{hostTapAction}}">
23 <template> 24 <template>
(...skipping 26 matching lines...) Expand all
50 <div class="list2" 51 <div class="list2"
51 on-tap="{{@item.itemTapAction}}">b {{item.index}}</div> 52 on-tap="{{@item.itemTapAction}}">b {{item.index}}</div>
52 </template> 53 </template>
53 </div> 54 </div>
54 </div> 55 </div>
55 </template> 56 </template>
56 <script type="application/dart" src="event_handlers_test.dart"></script> 57 <script type="application/dart" src="event_handlers_test.dart"></script>
57 </polymer-element> 58 </polymer-element>
58 </body> 59 </body>
59 </html> 60 </html>
OLDNEW
« no previous file with comments | « pkg/polymer/test/entered_view_test.html ('k') | pkg/polymer/test/event_path_declarative_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698