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

Side by Side Diff: utils/template/uitest.dart

Issue 11770004: Rename Date to DateTime. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and keep Backwards-compatibility class Date. Created 7 years, 11 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 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 import 'dart:html'; 5 import 'dart:html';
6 import 'template.dart'; 6 import 'template.dart';
7 import '../lib/file_system_memory.dart'; 7 import '../lib/file_system_memory.dart';
8 8
9 String currSampleTemplate; 9 String currSampleTemplate;
10 10
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 </div> 317 </div>
318 ${endEach} 318 ${endEach}
319 </div> 319 </div>
320 </div> 320 </div>
321 ${endEach} 321 ${endEach}
322 </div> 322 </div>
323 ${endEach} 323 ${endEach}
324 </div> 324 </div>
325 } 325 }
326 326
327 template Header(String company, Date date) { 327 template Header(String company, DateTime date) {
328 css { 328 css {
329 .header { 329 .header {
330 background-color: slateGray; 330 background-color: slateGray;
331 font-family: arial; 331 font-family: arial;
332 color: lightgray; 332 color: lightgray;
333 font-weight: bold; 333 font-weight: bold;
334 padding-top: 20px; 334 padding-top: 20px;
335 } 335 }
336 } 336 }
337 <div class='header' align=center> 337 <div class='header' align=center>
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 initHtmlWorld(false); 564 initHtmlWorld(false);
565 565
566 // Don't display any colors in the UI. 566 // Don't display any colors in the UI.
567 options.useColors = false; 567 options.useColors = false;
568 568
569 // Replace error handler bring up alert for any problems. 569 // Replace error handler bring up alert for any problems.
570 world.printHandler = (String msg) { 570 world.printHandler = (String msg) {
571 window.alert(msg); 571 window.alert(msg);
572 }; 572 };
573 } 573 }
OLDNEW
« no previous file with comments | « tools/dom/templates/html/impl/impl_HTMLInputElement.darttemplate ('k') | utils/testrunner/layout_test_controller.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698