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

Side by Side Diff: samples/third_party/todomvc/web/editable_label.dart

Issue 27274002: Fixing bots after Polymer element integration (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « samples/third_party/todomvc/test/markdone_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library todomvc.web.editable_label; 5 library todomvc.web.editable_label;
6 6
7 import 'dart:html'; 7 import 'dart:html';
8 import 'package:polymer/polymer.dart'; 8 import 'package:polymer/polymer.dart';
9 9
10 /** 10 /**
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 void maybeCancel(KeyboardEvent e) { 46 void maybeCancel(KeyboardEvent e) {
47 if (e.keyCode == KeyCode.ESC) { 47 if (e.keyCode == KeyCode.ESC) {
48 editing = false; 48 editing = false;
49 } 49 }
50 } 50 }
51 } 51 }
52 52
53 @initMethod 53 @initMethod
54 void _init() { 54 void _init() {
55 Polymer.register('editable-label', type: EditableLabel); 55 Polymer.register('editable-label', EditableLabel);
56 } 56 }
OLDNEW
« no previous file with comments | « samples/third_party/todomvc/test/markdone_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698