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

Unified Diff: dart/site/try/src/settings.dart

Issue 350443006: Add secret option "live" which compiles more frequently. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | « dart/site/try/src/interaction_manager.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/site/try/src/settings.dart
diff --git a/dart/site/try/src/settings.dart b/dart/site/try/src/settings.dart
index 904f2afef68928f0e730d72c82b365945769d3a3..9778206a953e3cf77f78d89fd39e121b01cf61f5 100644
--- a/dart/site/try/src/settings.dart
+++ b/dart/site/try/src/settings.dart
@@ -93,6 +93,8 @@ const BooleanUserOption enableCodeCompletion =
const BooleanUserOption incrementalCompilation =
const BooleanUserOption('incrementalCompilation');
+const BooleanUserOption live = const BooleanUserOption('live', isHidden: true);
+
Johnni Winther 2014/06/24 06:31:34 How do you enable a hidden option?
ahe 2014/06/24 06:41:47 Open JS console and type: localStorage.live = tru
ahe 2014/06/24 06:55:41 I'll document this in UserOption.
ahe 2014/06/24 08:36:02 Done.
const List<UserOption> options = const <UserOption>[
_alwaysRunInWorker,
_verboseCompiler,
@@ -101,8 +103,9 @@ const List<UserOption> options = const <UserOption>[
_enableDartMind,
_compilationPaused,
incrementalCompilation,
+ live,
+ enableCodeCompletion,
_codeFont,
_theme,
_currentSample,
- enableCodeCompletion,
];
« no previous file with comments | « dart/site/try/src/interaction_manager.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698