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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/webui/clickcounter.dart

Issue 26051002: Updating Polymer to derive from custom elements. (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 | « no previous file | pkg/polymer/lib/polymer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/webui/clickcounter.dart
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/webui/clickcounter.dart b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/webui/clickcounter.dart
index d31eecead0367ea7d645ad62f4c72dc0b2b397f0..3b4efe5d79d4faa0b1dd7a40e22aacd79ed7650f 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/webui/clickcounter.dart
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/webui/clickcounter.dart
@@ -1,12 +1,15 @@
import 'package:polymer/polymer.dart';
/**
- * A Polymer click counter element.
+ * A Polymer click counter element.
*/
@CustomTag('click-counter')
class ClickCounter extends PolymerElement {
@published int count = 0;
+ ClickCounter.created() : super.created() {
+ }
+
void increment() {
count++;
}
« no previous file with comments | « no previous file | pkg/polymer/lib/polymer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698