OLD | NEW |
(Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 import "dart:js" as js; |
| 6 |
| 7 void main() { |
| 8 try { |
| 9 var cached_files = js.createCachedPatchesFile(); |
| 10 print("$cached_files"); |
| 11 } catch (e) { |
| 12 var workedElem = document.querySelector("#worked"); |
| 13 var failedElem = document.querySelector("#failed"); |
| 14 workedElem.style.dispay = 'none'; |
| 15 failedElem.style.visibility = 'inline'; |
| 16 } |
| 17 } |
| 18 |
OLD | NEW |