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

Unified Diff: utils/css/cssworld.dart

Issue 9168008: Enabled CSS tests, added CSS tests to buildbot, fixed tooling with nodejs, and added more tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More coding convention changes (consistency). Created 8 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 | « frog/scripts/buildbot_annotated_steps.py ('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
index c00422ce4432bda12f1307cfb9bca99ad3a081be..281b2b7b0a54380ad3be6da534d38254cf11fcc3 100644
--- a/utils/css/cssworld.dart
+++ b/utils/css/cssworld.dart
@@ -8,7 +8,7 @@ class CssWorld {
CssWorld(this.classes, this.ids) {
// Insure no private class names in our CSS world (._foo).
- for (var aClass in classes) {
+ for (final aClass in classes) {
if (aClass.startsWith('_')) {
throw new CssSelectorException(
"private class ('_' prefix) not valid for CssWorld $aClass)");
@@ -16,7 +16,7 @@ class CssWorld {
}
// Insure no private element ids in our CSS world (#_foo).
- for (var id in ids) {
+ for (final id in ids) {
if (id.startsWith('_')) {
throw new CssSelectorException(
"private id ('_' prefix) not valid for CssWorld $id)");
« no previous file with comments | « frog/scripts/buildbot_annotated_steps.py ('k') | utils/css/generate.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698