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

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart

Issue 11428020: Temporarily reverting class field and method name minification. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add regression test Created 8 years, 1 month 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
Index: sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart b/sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart
index 9c7b19d2173ff9fa4f679eda9747b65d3369c595..0711b7d790a648f5ef84e533ca4339127e5a6fb5 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/isolate_patch.dart
@@ -188,9 +188,9 @@ class _Manager {
}
void _nativeDetectEnvironment() {
- JS("void", r"# = $isWorker", isWorker);
- JS("void", r"# = $supportsWorkers", supportsWorkers);
- JS("void", r"# = typeof(window) == 'undefined'", fromCommandLine);
+ JS("void", r"#.isWorker = $isWorker", this);
+ JS("void", r"#.supportsWorkers = $supportsWorkers", this);
+ JS("void", r"#.fromCommandLine = typeof(window) == 'undefined'", this);
}
void _nativeInitWorkerMessageHandler() {

Powered by Google App Engine
This is Rietveld 408576698