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

Side by Side Diff: site/try/src/ui.dart

Issue 408783002: Enable Try Dart to run on IE11. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« site/try/src/shadow_root.dart ('K') | « site/try/src/shadow_root.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library trydart.ui; 5 library trydart.ui;
6 6
7 import 'dart:html'; 7 import 'dart:html';
8 8
9 import 'dart:async' show 9 import 'dart:async' show
10 Future, 10 Future,
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 dialog.style.height = '${settingsHeight}px'; 453 dialog.style.height = '${settingsHeight}px';
454 }); 454 });
455 } else { 455 } else {
456 dialog.style.height = '${settingsHeight}px'; 456 dialog.style.height = '${settingsHeight}px';
457 } 457 }
458 458
459 onSubmit(Event event) { 459 onSubmit(Event event) {
460 event.preventDefault(); 460 event.preventDefault();
461 461
462 window.localStorage['alwaysRunInWorker'] = '$alwaysRunInWorker'; 462 window.localStorage['alwaysRunInWorker'] = '$alwaysRunInWorker';
463 window.localStorage['alwaysRunInIframe'] = '$alwaysRunInIframe';
464 window.localStorage['communicateViaBlobs'] = '$communicateViaBlobs';
463 window.localStorage['verboseCompiler'] = '$verboseCompiler'; 465 window.localStorage['verboseCompiler'] = '$verboseCompiler';
464 window.localStorage['minified'] = '$minified'; 466 window.localStorage['minified'] = '$minified';
465 window.localStorage['onlyAnalyze'] = '$onlyAnalyze'; 467 window.localStorage['onlyAnalyze'] = '$onlyAnalyze';
466 window.localStorage['enableDartMind'] = '$enableDartMind'; 468 window.localStorage['enableDartMind'] = '$enableDartMind';
467 window.localStorage['compilationPaused'] = '$compilationPaused'; 469 window.localStorage['compilationPaused'] = '$compilationPaused';
468 window.localStorage['codeFont'] = '$codeFont'; 470 window.localStorage['codeFont'] = '$codeFont';
469 471
470 dialog.style.height = '0px'; 472 dialog.style.height = '0px';
471 } 473 }
472 form.onSubmit.listen(onSubmit); 474 form.onSubmit.listen(onSubmit);
473 475
474 var doneButton = document.getElementById('settings-done'); 476 var doneButton = document.getElementById('settings-done');
475 doneButton.onClick.listen(onSubmit); 477 doneButton.onClick.listen(onSubmit);
476 } 478 }
OLDNEW
« site/try/src/shadow_root.dart ('K') | « site/try/src/shadow_root.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698