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

Unified Diff: samples/total/client/DomUtils.dart

Issue 10635015: Delete proxy and total samples, which have bit-rotted. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/total/client/DateTimeUtils.dart ('k') | samples/total/client/Exceptions.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/total/client/DomUtils.dart
===================================================================
--- samples/total/client/DomUtils.dart (revision 9011)
+++ samples/total/client/DomUtils.dart (working copy)
@@ -1,29 +0,0 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-/**
- * Utilities for [Element]s.
- */
-class DomUtils {
- /**
- * Removes a property on the given element's style.
- */
- static void removeStyleProperty(Element elem, String name) {
- elem.style.removeProperty(name);
- }
-
- /**
- * Sets a property on the given element's style.
- */
- static void setStyleProperty(Element elem, String name, String value) {
- elem.style.setProperty(name, value);
- }
-
- /**
- * Sets an integer property (with optional unit) on the given element's style.
- */
- static void setStylePropertyInt(Element elem, String name, int value, [String unit = ""]) {
- setStyleProperty(elem, name, value.toString() + unit);
- }
-}
« no previous file with comments | « samples/total/client/DateTimeUtils.dart ('k') | samples/total/client/Exceptions.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698