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

Unified Diff: client/samples/total/src/ValuePicker.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/total/src/SpreadsheetPresenter.dart ('k') | client/samples/total/src/ZoomTracker.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/samples/total/src/ValuePicker.dart
diff --git a/client/samples/total/src/ValuePicker.dart b/client/samples/total/src/ValuePicker.dart
index 61ba137372076eb88622c60a9a839ab9bbad6075..29ed83daada8fb69cbba96c4d91ac3638781b86d 100644
--- a/client/samples/total/src/ValuePicker.dart
+++ b/client/samples/total/src/ValuePicker.dart
@@ -15,7 +15,7 @@ class ValuePicker extends Picker {
root.classes = ["value-picker", "fadeOut"];
Document doc = root.document;
- Element _ul = doc.createElement("ul");
+ Element _ul = new Element.tag("ul");
_ul.attributes["class"] = "value-picker-ul";
root.nodes.add(_ul);
@@ -24,7 +24,7 @@ class ValuePicker extends Picker {
int idx = 0;
for (int i = 0; i < _values.length; i++) {
- LIElement li = doc.createElement("li");
+ LIElement li = new Element.tag("li");
li.classes = ["value-picker-item", "value-picker-item-enabled"];
li.id = "value-picker-${i}";
li.text = _values[i];
« no previous file with comments | « client/samples/total/src/SpreadsheetPresenter.dart ('k') | client/samples/total/src/ZoomTracker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698