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

Unified Diff: pkg/polymer/test/events_test.html

Issue 27903006: Improves how to initialize polymer apps and fixes polymer build and linter to (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
« no previous file with comments | « pkg/polymer/test/events_test.dart ('k') | pkg/polymer/test/instance_attrs_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/events_test.html
diff --git a/pkg/polymer/test/events_test.html b/pkg/polymer/test/events_test.html
index 54bce0928987f93b3c0ca00b8250b91888e78149..4fce9d58ef6c97eaf310968aab1b7bff54bbaa91 100644
--- a/pkg/polymer/test/events_test.html
+++ b/pkg/polymer/test/events_test.html
@@ -5,6 +5,7 @@
BSD-style license that can be found in the LICENSE file.
-->
<html>
+ <!--polymer-test: this comment is needed for test_suite.dart-->
<head>
<title>event path</title>
<script src="packages/unittest/test_controller.js"></script>
@@ -20,19 +21,6 @@
<polymer-element name="test-a" on-click="clickHandler">
<template></template>
- <script type="application/dart">
- import 'package:polymer/polymer.dart';
-
- @CustomTag("test-a")
- class TestA extends PolymerElement {
- TestA.created() : super.created();
-
- List clicks = [];
- void clickHandler() {
- clicks.add('host click on: $localName (id $id)');
- }
- }
- </script>
</polymer-element>
<polymer-element name="test-b">
@@ -42,25 +30,11 @@
<span id="b-2" on-click="clickHandler">2</span>
</div>
</template>
- <script type="application/dart">
- import 'package:polymer/polymer.dart';
-
- @CustomTag("test-b")
- class TestB extends PolymerElement {
- TestB.created() : super.created();
-
- List clicks = [];
- void clickHandler(event, detail, target) {
- clicks.add('local click under $localName (id $id) on ${target.id}');
- }
- }
- </script>
</polymer-element>
<test-a id="a"></test-a>
<test-b id="b"></test-b>
<script type="application/dart" src="events_test.dart"></script>
- <script type="application/dart" src="packages/polymer/init.dart"></script>
</body>
</html>
« no previous file with comments | « pkg/polymer/test/events_test.dart ('k') | pkg/polymer/test/instance_attrs_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698