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

Side by Side Diff: test/data/input/component_with_event_listeners.html

Issue 11465028: rename web_components -> web_ui (Closed) Base URL: https://github.com/dart-lang/web-ui.git@master
Patch Set: Created 8 years 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
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <!-- 2 <!--
3 Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 Copyright (c) 2012, 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 lang="en"> 7 <html lang="en">
8 <body> 8 <body>
9 <element name="x-component-with-event-listeners" extends="span" constructor="Com ponentWithEventListeners"> 9 <element name="x-component-with-event-listeners" extends="span" constructor="Com ponentWithEventListeners">
10 <template> 10 <template>
11 <div on-click="listener()">0</div> 11 <div on-click="listener()">0</div>
12 <template if="notCond"> 12 <template if="notCond">
13 <div on-click="listener()">1</div> 13 <div on-click="listener()">1</div>
14 </template> 14 </template>
15 </template> 15 </template>
16 <script type='application/dart'> 16 <script type='application/dart'>
17 import 'common.dart'; 17 import 'common.dart';
18 import 'package:web_components/web_components.dart'; 18 import 'package:web_ui/web_ui.dart';
19 class ComponentWithEventListeners extends WebComponent { 19 class ComponentWithEventListeners extends WebComponent {
20 void listener() {} 20 void listener() {}
21 } 21 }
22 </script> 22 </script>
23 </element> 23 </element>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698