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

Unified Diff: utils/css/cssworld.dart

Issue 137013002: Removed obsolete code (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Removed libraries not used Created 6 years, 11 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 | « utils/css/cssselectorexception.dart ('k') | utils/css/generate.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/css/cssworld.dart
diff --git a/utils/css/cssworld.dart b/utils/css/cssworld.dart
deleted file mode 100644
index 281b2b7b0a54380ad3be6da534d38254cf11fcc3..0000000000000000000000000000000000000000
--- a/utils/css/cssworld.dart
+++ /dev/null
@@ -1,26 +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.
-
-class CssWorld {
- List<String> classes;
- List<String> ids;
-
- CssWorld(this.classes, this.ids) {
- // Insure no private class names in our CSS world (._foo).
- for (final aClass in classes) {
- if (aClass.startsWith('_')) {
- throw new CssSelectorException(
- "private class ('_' prefix) not valid for CssWorld $aClass)");
- }
- }
-
- // Insure no private element ids in our CSS world (#_foo).
- for (final id in ids) {
- if (id.startsWith('_')) {
- throw new CssSelectorException(
- "private id ('_' prefix) not valid for CssWorld $id)");
- }
- }
- }
-}
« no previous file with comments | « utils/css/cssselectorexception.dart ('k') | utils/css/generate.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698