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

Unified Diff: client/samples/total/src/ColorPicker.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/samples/sunflower/Sunflower.dart ('k') | client/samples/total/src/ContextMenu.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/samples/total/src/ColorPicker.dart
diff --git a/client/samples/total/src/ColorPicker.dart b/client/samples/total/src/ColorPicker.dart
index 16e01555f1fd9aa98ed5c192b7ab5960f30b8ce0..10cdf3a2ef62da72ea000bc1995deba368d91360 100644
--- a/client/samples/total/src/ColorPicker.dart
+++ b/client/samples/total/src/ColorPicker.dart
@@ -36,7 +36,7 @@ class ColorPicker extends Picker {
for (int i = 0; i < _columns; i++) {
int x = _margin + i * (_width + _margin);
- DivElement div = doc.createElement("div");
+ DivElement div = new Element.tag("div");
div.attributes["class"] = "color-picker-item";
div.id = "color-picker-${idx}";
div.style.setProperty("position", "absolute");
« no previous file with comments | « client/samples/sunflower/Sunflower.dart ('k') | client/samples/total/src/ContextMenu.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698