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

Side by Side Diff: src/tests/site/code/Switcher.dart

Issue 1394993002: Doing some cleanup. (Closed) Base URL: https://github.com/dart-lang/www.dartlang.org.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « src/site/js/Switcher.dart ('k') | third_party/docbook-xsl-1.78.0/AUTHORS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // XXX: This file isn't used right now 1 // XXX: This file isn't used right now
2 2
3 import 'dart:html'; 3 import 'dart:html';
4 4
5 final List<String> osList = const <String>['macos', 'windows', 'linux']; // all supported OSs 5 final List<String> osList = const <String>['macos', 'windows', 'linux']; // all supported OSs
6 String osName = 'linux'; // the currently displayed platform 6 String osName = 'linux'; // the currently displayed platform
7 7
8 /** Initializes osName and selects the corresponding radio button. */ 8 /** Initializes osName and selects the corresponding radio button. */
9 void detectPlatform() { 9 void detectPlatform() {
10 // osName is initially 'linux', since linux strings are unpredictable. 10 // osName is initially 'linux', since linux strings are unpredictable.
(...skipping 25 matching lines...) Expand all
36 }); 36 });
37 }); 37 });
38 } 38 }
39 39
40 /** Ready, set, go! */ 40 /** Ready, set, go! */
41 void main() { 41 void main() {
42 detectPlatform(); 42 detectPlatform();
43 filterPlatformText(); 43 filterPlatformText();
44 registerHandlers(); 44 registerHandlers();
45 } 45 }
OLDNEW
« no previous file with comments | « src/site/js/Switcher.dart ('k') | third_party/docbook-xsl-1.78.0/AUTHORS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698