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

Unified Diff: lib/compiler/implementation/emitter.dart

Issue 10352008: Indentation change for define-class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/emitter.dart
diff --git a/lib/compiler/implementation/emitter.dart b/lib/compiler/implementation/emitter.dart
index e14c8efe9aa794ab37668f1d89e615077ade5ce7..24042568b12a646a92f7823df93e50f466bec436 100644
--- a/lib/compiler/implementation/emitter.dart
+++ b/lib/compiler/implementation/emitter.dart
@@ -343,7 +343,7 @@ function() {
superName = namer.getName(superclass);
}
String constructorName = namer.safeName(classElement.name.slowToString());
- buffer.add('$defineClassName("$className", "$superName",\n');
+ buffer.add('$defineClassName("$className", "$superName", ');
buffer.add('function $constructorName(');
StringBuffer bodyBuffer = new StringBuffer();
// If the class is never instantiated we still need to set it up for
@@ -353,7 +353,7 @@ function() {
}
buffer.add(') {\n');
buffer.add(bodyBuffer);
- buffer.add('}, ');
+ buffer.add(' }, ');
buffer.add('{\n');
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698