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

Unified Diff: client/samples/total/src/SelectionManager.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/InnerMenuView.dart ('k') | client/samples/total/src/SpreadsheetPresenter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/samples/total/src/SelectionManager.dart
diff --git a/client/samples/total/src/SelectionManager.dart b/client/samples/total/src/SelectionManager.dart
index 87235f7fcac86d5424df086c7be74d9199a92394..ead003dec75bd5db4cc02905ff6b9f8a99bd8ee3 100644
--- a/client/samples/total/src/SelectionManager.dart
+++ b/client/samples/total/src/SelectionManager.dart
@@ -52,13 +52,13 @@ class SelectionManager {
Document doc = window.document;
Element spreadsheetElement = presenter.spreadsheetElement;
- _selectionDiv = doc.createElement("div");
+ _selectionDiv = new Element.tag("div");
_selectionDiv.id = "selection-${_spreadsheet.name}";
_selectionDiv.attributes["class"] = "selection";
_selectionDiv.style.setProperty("display", "none");
spreadsheetElement.nodes.add(_selectionDiv);
- Element thumb = doc.createElement("div");
+ Element thumb = new Element.tag("div");
thumb.id = "selection-thumb-${_spreadsheet.name}";
thumb.attributes["class"] = "selection-thumb";
_selectionDiv.nodes.add(thumb);
« no previous file with comments | « client/samples/total/src/InnerMenuView.dart ('k') | client/samples/total/src/SpreadsheetPresenter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698