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

Unified Diff: client/samples/dartcombat/setup.dart

Issue 8835006: New version of dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/html/src/_FactoryProviders.dart ('k') | client/samples/dartcombat/views.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/samples/dartcombat/setup.dart
diff --git a/client/samples/dartcombat/setup.dart b/client/samples/dartcombat/setup.dart
index d77febba4021d8c8b66fe5c391c468fa4a57b311..7c3d82ceb99b51ed95fd3462169447b15c5e8e61 100644
--- a/client/samples/dartcombat/setup.dart
+++ b/client/samples/dartcombat/setup.dart
@@ -11,7 +11,7 @@ void setUpGame() {
/** Sets up the UI creating the board for each player. */
void setupUI() {
// Note: we set up the UI programatically to make testing easier.
- var div = document.createElement("div");
+ var div = new Element.tag("div");
div.innerHTML = """
<div class='hbox'>
<div class='vbox'>
« no previous file with comments | « client/html/src/_FactoryProviders.dart ('k') | client/samples/dartcombat/views.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698