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

Side by Side Diff: tools/dartium/generate_app/generate_cached_patches.dart

Issue 1898163002: Generate cached_patches.dart using new Dartium swtich (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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 unified diff | Download patch
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 import "dart:js" as js;
6
7 void main() { 5 void main() {
8 try { 6 try {
9 var cached_files = js.createCachedPatchesFile(); 7 print("Generated Patches");
10 print("$cached_files");
11 } catch (e) { 8 } catch (e) {
12 var workedElem = document.querySelector("#worked"); 9 var workedElem = document.querySelector("#worked");
13 var failedElem = document.querySelector("#failed"); 10 var failedElem = document.querySelector("#failed");
14 workedElem.style.dispay = 'none'; 11 workedElem.style.dispay = 'none';
15 failedElem.style.visibility = 'inline'; 12 failedElem.style.visibility = 'inline';
16 } 13 }
17 } 14 }
18 15
OLDNEW
« no previous file with comments | « sdk/lib/js/dartium/js_dartium.dart ('k') | tools/dartium/generate_app/generate_cached_patches.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698